[erlang-questions] term_to_binary and message passing

Dominic Williams <>
Thu Dec 28 15:49:05 CET 2006

Hi Joel,

> Eshell V5.5  (abort with ^G)
> 1> size(term_to_binary(0.2)).
> 33
> Does this mean that any float I send within the VM will result in a
> 33-byte message?

>From the documentation of term_to_binary, I assume not :

  "This can be used for a variety of purposes, for example writing a term
   to a file in an efficient way, or sending an Erlang term to some type of
   communications channel not supported by distributed Erlang."


Dominic Williams.

More information about the erlang-questions mailing list