[erlang-questions] BERT vs protobuf in the erlang world

Steve Davis steven.charles.davis@REDACTED
Wed Aug 24 15:37:43 CEST 2011


Short and insightful. Thank you, Vincent! I took the time to google/read 
the page at bert-rpc.org (and also scan over msgpack and bjson).

WRT to the OP, and in my simple-minded world, protobuffs always seemed 
like a lot of hassle for not much gain; And if there is concern about 
the verbosity or sending big binaries why not use gzip? Maybe there's 
room for an extension to BERT/BERT-RPC to define the use of gzip 
compression?

My 2c.

/s


On 8/24/2011 7:56 AM, Vincent de Phily wrote:
> On Tuesday 23 August 2011 16:37:41 Steve Davis wrote:
>> Why not term_to_binary() i.e. external erlang term format...?
>>
>> ...a genuine question looking for reasoning/insight from those more
>> experienced.
>
> BERT is exactly that, plus some checks to remove data types like erlang pids
> which should not exist in a language-agnostic format. BERT is faster than
> similar formats in the erlang VM, but that's an erlang-specific artefact. In
> the outside world, msgpack and bjson have more traction and more speed.




More information about the erlang-questions mailing list