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.
Permalink for comment 564888
To read all comments associated with this story, please click here.
RE[2]: Comment by aligatro
by Sykobee on Tue 18th Jun 2013 08:43 UTC in reply to "RE: Comment by aligatro"
Member since:

Each block in Minecraft can take 4 bytes.

The Minecraft world is 256 blocks high by default, and thousands of blocks wide and high (and that extends as required).

So, for a small map, you could have 4096x4096x256x4 bytes used up just for map data. That's 17179869184 bytes - or 16,384MB to you or me. A lot of this is paged out to disk, but I think you can now see why Minecraft can use 1GB without breaking a sweat. And don't you have 4-16 GB in your system anyway?

Think before you comment next time.

Reply Parent Score: 3