Linked by Thom Holwerda on Mon 17th Jun 2013 17:52 UTC
Games "MineAssemble is a tiny bootable Minecraft clone written partly in x86 assembly. I made it first and foremost because a university assignment required me to implement a game in assembly for a computer systems course. Because I had never implemented anything more complex than a 'Hello World' bootloader before, I decided I wanted to learn about writing my own kernel code at the same time. Note that the goal of this project was not to write highly efficient hand-optimized assembly code, but rather to have fun and write code that balances readability and speed. This is primarily accomplished by proper commenting and consistent code structuring." Just cool.
Thread beginning with comment 564881
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[4]: Comment by aligatro
by kwan_e on Tue 18th Jun 2013 02:52 UTC in reply to "RE[3]: Comment by aligatro"
Member since:

The big question is: to what end can/should this inefficiency continue?

Efficiency still matters, but it's now in server farms. Whereas on the desktop and consoles gross inefficiency doesn't cost too much, in server farms, a little bit of inefficiency multiplies hardware costs.

Reply Parent Score: 4

RE[5]: Comment by aligatro
by Alfman on Tue 18th Jun 2013 03:06 in reply to "RE[4]: Comment by aligatro"
Alfman Member since:


"Whereas on the desktop and consoles gross inefficiency doesn't cost too much, in server farms, a little bit of inefficiency multiplies hardware costs."

I guess in an enormous R&D server cluster it make more sense to pay engineers to optimize the software.

Even when I was employed to work on a large corporate website distributed across multiple oracle-RAC nodes, they still seemed to prefer the hardware route over software optimization. The fix for shoddy performance was investing in faster hardware. It wasn't really my preferred way of doing things, but it seems to be the norm at all of my former employers and clients. I'd love to hear more specific counter examples though because I'd be curious to understand how they manage to buck the trend.

Reply Parent Score: 2

RE[6]: Comment by aligatro
by moondevil on Tue 18th Jun 2013 06:30 in reply to "RE[5]: Comment by aligatro"
moondevil Member since:

Now it is even worse, thanks to virtualization.

If you need a few more machines, just right mouse click on your snapshot image and select clone or similar operation, in a few minutes you have a new machine serving requests.

This beats the salary of any engineer worth his/her salt in optimization.

However, I am aware that one of the reasons for the whole going native discussion started by Microsoft is the electricity cost of using VM implementations for programming languages.

FB started the efforts for the PHP compiler, now JIT, because of that. Andrei Alexandrescu mentioned in a C++ conference, that FB measures requests per Watt on their compute center.

Reply Parent Score: 5