BEAM (Erlang virtual machine)

From HandWiki
Short description: Virtual machine in the Open Telecom Platform

BEAM is the virtual machine at the core of the Erlang Open Telecom Platform (OTP).[1] BEAM is part of the Erlang Run-Time System (ERTS), which compiles Erlang source code into bytecode, which is then executed on the BEAM.[2][3] BEAM bytecode files have the .beam file extension.[4]

Originally BEAM was short for Bogdan's Erlang Abstract Machine, named after Bogumil "Bogdan" Hausman, who wrote the original version, but the name may also be referred to as Björn's Erlang Abstract Machine, after Björn Gustavsson, who wrote and maintains the current version.[1][5][6] Both developers worked on the system while at Ericsson.[7][8]

The predecessor of the BEAM was JAM (Joe's Abstract Machine), which was the first virtual machine for the Erlang language and was written by Joe Armstrong.

BEAM Languages

Although BEAM was created for Erlang, several other languages have been either created for it or ported to run on it. The most popular of these is Elixir, which had more responses than Erlang itself in the 2023 Stackoverflow survey.[9] Other notable examples include:

  • Clojerl,[10] a port of Clojure to BEAM
  • Cuneiform,[11] a language for large-scale scientific data analysis
  • Gleam,[12] a statically typed functional language for BEAM
  • LFE,[13] Lisp Flavored Erlang, a lisp frontend for the Erlang compiler
  • Luerl,[14] Lua on the BEAM, designed and implemented by one of the creators of Erlang


See also

References

External links