3 ms·
All games use some form of OOP polymorphism until cache misses outpace code readability. Entity systems (think of C unions with enums for the type) fix most cac
by glouwbug 4y ago
All games use some form of OOP polymorphism until cache misses outpace code readability. Entity systems (think of C unions with enums for the type) fix most cache coherency performance issues [1].
On Bedrock chunks are just stored in a forked Google leveldb [2]. Working on Minecraft is a multiplatform backend database gig first and foremost. It's like working at AWS, but your customers are predominantly children, and their businesses are the worlds they create
[1] https://github.com/skypjack/entt https://github.com/skypjack/entt
[2] https://minecraft.fandom.com/wiki/Bedrock_Edition_level_format https://minecraft.fandom.com/wiki/Bedrock_Edition_level_form...