Episode Details

Back to Episodes
30 Years Inside the BEAM: Björn Gustafsson on Building Erlang's Runtime

30 Years Inside the BEAM: Björn Gustafsson on Building Erlang's Runtime

Season 1 Episode 17 Published 4 weeks ago
Description

Three engineers. Three different virtual machines. One conversation that started with the JAM and ends with the JIT compiler.

Allen Wyma and Francesco Cesarini sit down again with Björn Gustafsson — member of the OTP team since 1996, and the person who has personally shepherded the BEAM through every major transition since taking it over from Bogdan Wódzicki — for a deep dive into 30 years of runtime engineering.

Topics include:

  • the three competing virtual machines built in parallel at Ericsson's lab — JAM, Robert Virding's V, and Bogdan's BEAM — and why each one's design choices succeeded or failed

  • a compiler bug that caused random crashes and took weeks to find — and the BEAM Validator that was built specifically so it could never happen again

  • why "turbo Erlang" compiled-to-C delivered a 10-20x sequential speedup on paper that shrank to 2x once concurrency entered the picture, and why that mattered for chip design

  • the BEAM loader — Björn's own invention, still in use today — and why decoupling the compiler from hand-written runtime translation mattered

  • how Björn took over Bogdan's code in 1997 and turned a research prototype into a 30-year production runtime without ever breaking backward compatibility

  • what's coming next: the JIT compiler (next episode), type systems, and a possible episode on the historical and emerging Erlang machines

-record(history, { jam, v, turbo_erlang, beam }).

If you care about language runtimes, VM design, or how production systems survive three decades of evolution without ever stopping, this episode is for you.

Recorded May 26, 2026.


Listen Now

Love PodBriefly?

If you like Podbriefly.com, please consider donating to support the ongoing development.

Support Us