[erlang-questions] encoding packets a style+efficiency question
Richard O'Keefe
ok@REDACTED
Wed Jul 27 04:50:37 CEST 2011
There is an intermediate position between
- manually writing packing and unpacking code
- representing the type structure as a data structure
and interpreting it at run time
and that is
+ writing a "pickler compiler" in Erlang that takes a
data structure representing a packet structure and
generates Erlang source code for packing and unpacking,
which you can then call.
More information about the erlang-questions
mailing list