I don’t think this is common. Perhaps for arrays of floats serialized as JSON or something. But I can’t think of a case where binary serialization is bigger. Data types like maps are necessarily larger in memory to support fast lookup and mutability.
nine_k•2mo ago
That is, a "memory dump -> zero-copy memory read" of a subgraph of Haskell objects, allowing to pass such trees / subgraphs directly over a network. Slightly reminiscent of Cap'n Proto.
90s_dev•2mo ago
Zolomon•2mo ago
spockz•2mo ago
cstrahan•2mo ago
See https://protobuf.dev/programming-guides/encoding/
carterschonwald•2mo ago