Hacker News with Generative AI: Serialization

MessagePack: It's like JSON, but fast and small. (msgpack.org)
MessagePack is an efficient binary serialization format. It lets you exchange data among multiple languages like JSON. But it's faster and smaller. Small integers are encoded into a single byte, and typical short strings require only one extra byte in addition to the strings themselves.
Cramming Scrapscript into Msgpack (taylor.town)
msgpack is a lovely little serialization format. As a JSON replacement, it saves bandwidth while preserving native language features (e.g. tuples, records, objects, dates).
Using gRPC for (local) inter-process communication (2021) (mpi-hd.mpg.de)
Using a full-featured RPC framework for IPC seems like overkill when the processes run on the same machine. However, if your project anyway exposes RPCs for public APIs or would benefit from a schema-based serialisation layer it makes sense to use only one tool that combines these—also for IPC.
Boosting Jackson's Serialization Performance with Quarkus (quarkus.io)
Fast Lua Serialization (2023) (artemis.sh)
Version Tolerant Serialization in C++ (developernote.com)
Serialization for C# Games (chickensoft.games)