Binary encoding for small objects: BSON or erlang:term_to_binary ?

Zvi <>
Mon Aug 2 14:57:13 CEST 2010


Hi,

I need to encode/decode, small Erlang data structures to and from
binaries for Soft Realtime application.
This binaries will be written to files and often will be read by non-
Erlang applications, written in C/C++, Java, Python, etc.
Which format would you choose: BSON or erlang:term_to_binary ?
ProtoBuffers ruled out because it requires schema.

Thanks in Advance,
Zvi


More information about the erlang-questions mailing list