[erlang-questions] VM & BEAM Specs

Tim Becker a2800276@REDACTED
Sun Aug 5 15:11:09 CEST 2007


>    | The internals of the BEAM file format are described on Björn's
>    | homepage . Eventually this will/might include a description of the
>    | virtual machine's instructions. Björn also includes some benchmarks
>    | comparing different versions of the BEAM machine. You may also want to
>    | take a look at the beam_lib module.

I've had a look at this the other day (to play around with .beam
files), and it's a bit dated (May 2000). At the very least, the
"Abstract Code" chunk isn't described, I've only implemented a cursory
beam dump, so I don't know if other bits are left out as well.

You can glean some information from the lib/compiler/src/beam_asm.erl,
beam_disasm.erl and /lib/stdlib/src/beam_lib.erl implementations.

   -tim



More information about the erlang-questions mailing list