News for hackers. Stuff that matters.
Re:MessagePack: like JSON, but fast and small by enitihas on Tuesday March 10, 2020 @01:39PM (#22537552)
If you want to transfer a significant amount of data and don' t need readability, using protobufs makes even more sense, since the key names do not go as string on the wire, so the data should be much smaller.
Re:MessagePack: like JSON, but fast and small by ludocode on Tuesday March 10, 2020 @07:33PM (#22541187)
MessagePack lets you use integers for keys, so you can use enums or integer constants in the code instead of strings. There are good reasons to use MessagePack over Protobuf even if you don't need readability, such as easier integration into buildsystems and better support for embedded platforms.