Damus
dorotaC profile picture
dorotaC
@dorotaC
What's a good #format to serialize simple structured #data in an efficient way?

I'm thinking about some binary #XML encoding. Also, #ASN.1 because it natively uses integers, not just strings. Is the packed representation (PER) widely supported?

The data will be a bunch of interleaved time series streams, so variable field lengths could be a big win.

Is there a format for stuff like that?

#Matroska's EBML? Only I'd have to hack the schema in.

#mkv #serialization #formats
4
nick · 7w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqkedxdacmlj8utzpdv2ud46d72gyzac6v0y3u2e2g596umumzdwrq5dhrzl Protobufs? Flat buffers? Cap'n Proto? Apache Thrift?
Michael Sumner · 7w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqkedxdacmlj8utzpdv2ud46d72gyzac6v0y3u2e2g596umumzdwrq5dhrzl Arrow
John Ulrik · 7w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqkedxdacmlj8utzpdv2ud46d72gyzac6v0y3u2e2g596umumzdwrq5dhrzl There are several binary representations of XML, but I can’t give a specific recommendation: https://en.wikipedia.org/wiki/Binary_XML That would also keep the door open for the XML to...
Steveg58 · 7w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqkedxdacmlj8utzpdv2ud46d72gyzac6v0y3u2e2g596umumzdwrq5dhrzl Roll your own XML is easy enough to write (no, it really is). But if you are doing it just for yourself go with CSV ... it can be imported to a bunch of stuff and it is even easier to r...