4 ms·
I made https://concise-encoding.org/ https://concise-encoding.org/ to deal with this: - strongly typed - ad-hoc or schema (your choice) - no code generation
by kstenerud 6y ago
I made https://concise-encoding.org/ https://concise-encoding.org/ to deal with this:
- strongly typed
- ad-hoc or schema (your choice)
- no code generation step
- edit in text, send in binary
- PixyMisa 6y agoThat looks pretty good, actually.
- fanf2 6y agoWhy would someone choose this rather than msgpack or CBOR or protobuf or any of the other existing things in that space?
- kstenerud 6y agoBecause there isn't anything else in this space that: - supports ad-hoc data structures or schemas per your preference - supports all common types natively (doesn't require special string encoding like base64 or such nonsense) - supports comments, metadata, references (for recursive/cyclical data), custom types - doesn't require an extra compilation step or special definition files - Has parallel binary and textual forms so that you're not wasting CPU and bandwidth serializing/deserializing text. Everything stays in binary except in the rare cases where humans want to look or edit.