Skip to content

A description of the Erlang Runtime System ERTS and the virtual Machine BEAM.

License

Notifications You must be signed in to change notification settings

honne/theBeamBook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hi

Hi I opened this repo to the public today (April 7) to share it with some students. I was giving a lecture about the BEAM at Chalmers. I didn't think anyone else would notice. I was not planning to release this for real yet since the repo currently just contains bits and pieces from several different versions of the book that I have been writing.

I hope to bring in more chapters and fill out the existing chapters in the weeks to come, but please feel free to comment and correct any errors you find. The plan is to make this into a collaborate effort so that we can get a complete documentation of the Erlang Runtime system as soon as possible.

Anyway, it is finally out in the public, warts and all.

Welcome to the site, please contribute.

About this 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.

Please feel free to contribute since this work is far from done, and it will probably never be done since there is continuous development of the Erlang runtime system.

The book is written in AsciiDoc and can be read directly on github in your browser or you can create a pdf from the source code.

To read the book online just open the file book.asciidoc.

Building

To build a pdf from source you will need make, asciidoc, pdflatex, and dblatex.

sudo apt-get install asciidoc
easy_install dblatex
make

TODO

  • Bring in missing chapters [Happi]
  • Bring in missing text in the process and scheduler chapters [Happi]
  • Fix the mess caused by mergin two different versions into the first chapters [Happi]
  • Go over the new outline [Happi]
  • Fix the license (issue 15)
  • Fix links
  • Add images
  • Fix build system for ascii-art
  • Bring in the beam instruction documentation automatically from the latest Erlang release
  • Set up a build system that produces a new pdf on check-in (issue 10)
  • Links to OTP code on github
  • Add some kind of forum/wiki to discuss what needs to be done
  • Fix the gdb examples to use the "new" gdb macros provided by OTP.
  • Index
  • Get the Erlang Industrial User Group and/or OTP to publish it on their site

About

A description of the Erlang Runtime System ERTS and the virtual Machine BEAM.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Erlang 68.3%
  • C 10.5%
  • XSLT 8.8%
  • Makefile 7.2%
  • Assembly 2.9%
  • Shell 1.0%
  • Other 1.3%