Currently, we represent objects in the game (components) as dataclasses with manual serialization/deserialization. This library offers several benefits:
- speed (it uses C backend, should be several times faster than now)
- easier and safer serialziation
- better type checking
https://jcristharif.com/msgspec/structs.html