logoalt Hacker News

cl3mischtoday at 5:09 PM1 replyview on HN

Wasn't that the Bedrock edition? Or "Minecraft Education Edition"? An alternative C++ version, anyway.

I can't imagine Java Minecraft ever to have run well on a mid-range Raspi.


Replies

inigyoutoday at 5:15 PM

Well it did used to run on early Raspis. Maybe you don't realise how much less efficient it's gotten? It used to run fine in 256MB with small render distance.

So how did they break that?

* run both server and client when in singleplayer - doubles memory use

* turn byte block IDs into object pointers - octuples memory use for blocks

* make all game content into JSON object trees with huge amounts of indirection - adds about a GB of objects deserialized at startup that used to be simple if/then ladders

* add a whole bunch of code to handle these object trees, don't know how much this adds but probably 100MB of code when you include the raw class files through to the JIT-optimized assembly.

show 1 reply