3 ms·
could have used msgpack http://msgpack.org/ http://msgpack.org/
by jlebrech 9y ago
could have used msgpack http://msgpack.org/ http://msgpack.org/
- nullpilot 9y agoMessagepack still contains field names as strings, which can easily double or triple your data, and explodes parsing time. A game is a pretty good use case for predefined schemas like Protocol Buffers, which is used by CS:GO and Pokemon Go for example. Other games like slither.io use binary over websockets without any of these libs.