BEAM Virtual Machine
- BEAM. Erlang runs on BEAM: a virtual machine built for millions of tiny processes and decades of uptime.
- Preemptive scheduling. BEAM schedules processes preemptively by reduction count: no process can starve the rest.
- Built for telecoms. Erlang was built for telephone switches: nine-nines availability as a design requirement, not a wish.
Concurrency and Fault Tolerance
- Processes everywhere. The unit of design is the process: isolated, cheap, communicating only by messages.
- Let it crash. Erlang’s philosophy: don’t program defensively: let a broken process crash and let a supervisor restart it clean.
- Isolation is the safety. A crash cannot corrupt neighbours: isolation is what makes restarting safe and honest.
Before and after this level
- Before: nothing. This is where the course starts.
- Next: Level 1: Erlang Foundations: Terms and Variables, Pattern Matching, Functions and Modules.
In the app each of these ideas is taught and then asked back, and the level ends with a checkpoint and flashcards. See Checkpoints and flashcards.
Frequently asked questions
What does Erlang: Start Here: Let It Crash cover?
BEAM Virtual Machine, Concurrency and Fault Tolerance: 2 lessons and 6 ideas.
Is this level free?
Yes. Start Here: Let It Crash is the free first level of the Erlang course, with its checkpoint and flashcards.