BEAM There, Done That with Maxim Kharchenko on Erlang Without an OS and Building LING

New BEAM There, Done That with Maxim Kharchenko, creator of Ling - not a BEAM fork, a clean Erlang VM implementation running on Xen with no kernel underneath.

Two design details worth discussing:

  • Dynamic instruction set. Ling analyzes real OTP source and generates specialized opcodes tuned to that workload. Frequently loaded constants get their own instructions. Tradeoff managed by heuristic - more instructions means slower dispatch.

  • Zero silent memory failures. Every allocation has an explicit out-of-memory handler. Whole-system discipline, not a convention.

Context from Francesco: this was part of a project to run an entire network stack in Erlang - firmware, controller, everything. The industry wasn’t ready. The problems, as he puts it, came back with different names.

2 Likes

Another interesting podcast!

For anyone interested the Ling website is here: https://erlangonxen.org and we actually have a few threads about it already ling :icon_biggrin:

1 Like