Today there were a couple of nice resources posted on reddit covering the internals of the BEAM virtual machine. For those curious about such things here, I thought I’d echo them here:
Erlang’s Internal Data Representation by Ed Fine
and
The Beam Book - “A description of the Erlang Runtime System ERTS and the virtual Machine BEAM. This is an attempt to document how the internals of the Erlang Runtime System work.” By Erik Stenman who has been lecturing on the topic at Chalmers. I have generated a PDF of the book to save others from the annoyance of installing the latex tools
Nice stuff in both resources … enjoy!