Lurker News
With the quarantine being placed in effect in a lot of cities across the world, we all likely have a little bit more time to focus on personal projects or learning something new from the comfort of our homes. What are you guys up to these days?

Comments (1,237) 697 threads

Show all comments

Showing thread 27 of 697

zamalek1 reply#
A Minecraft server in Rust [1]. The hope is to make it obscenely parallel with actor-like design (Minecraft chunks are nearly perfect for this). The real challenge so far has been the complete and utter mess that is the MC protocol; there's two different forms of UTF8 in the damn thing and there's NBT and JSON (which achieve the same thing). NBT itself has 2 ways to encode i32 and i64 arrays. So I haven't reached the bit where I play with parallelism yet.

[1]: https://github.com/jcdickinson/racemus

dividuum#
Pretty nice and rewarding once you can first join your own server :-) Can confirm that the protocol is a mess. Also expect it to change massively between major versions, including new data types or shuffled packet ids. I've created a parser for Python and is was too much work to continue supporting beyond 1.8. Code is at https://github.com/dividuum/fastmc

I would guess one part where parallelism might help is interleaving of packet parsing and (de)compression if they exceed the compression threshold.