Skip to content
PodSubs
ShowsPeopleGuestsJobsNewsEvents
More
BlogPodCred
Menu
ShowsPeopleGuestsJobsNewsEventsBlogPodCredNetworksSign in
Join nowSign in
  • Shows
  • People
  • Jobs
  • News
  • More
    • Guests
    • Events
    • Blog
    • PodCred
    • Networks
    Join nowSign in

Coding Chats

Coding Chats artwork

Let it crash! How Erlang and BEAM build bullet proof software

Apr 23, 202637 minAudio
ShareXLinkedInFacebookWhatsAppEmail

Coding Chats episode 74 - Erik Stenman talks to John Crickett about the BEAM virtual machine - the runtime behind Erlang, Elixir, and Gleam. Built by Ericsson in the 1980s for telephone switches, it was designed for fault tolerance and concurrency from day one, yet never achieved mainstream popularity despite being technically superior to many alternatives. The discussion covers what makes BEAM unique: lightweight isolated processes, a "let it crash" fault philosophy, and powerful built-in introspection. Erik also shares practical lessons from production use and explains why newer languages like Elixir and Gleam are finally bringing BEAM the attention it deserves. Chapters 00:00 Introduction to Beam and Erlang 02:45 The Unique Features of Erlang and Beam 05:17 Concurrency and Fault Tolerance in Beam 07:34 Applications and Use Cases of Erlang 10:00 Error Handling and Process Supervision 12:49 Performance Considerations in Beam 15:09 Learning and Adopting Erlang and Elixir 17:28 The Future of Erlang, Elixir, and Gleam 37:04 Exploring Related Content Erik's Links: https://happihacking.com/ https://happihacking.com/blog/ https://github.com/happi/theBeamBook https://www.amazon.com/dp/9153142535 https://www.elixirconf.eu/trainings/the-beam-for-developers/ John's Links: John's LinkedIn: https://www.linkedin.com/in/johncrickett/ John’s YouTube: https://www.youtube.com/@johncrickett John's Twitter: https://x.com/johncrickett John's Bluesky: https://bsky.app/profile/johncrickett.bsky.social Check out John's software engineering related newsletters: Coding Challenges: https://codingchallenges.substack.com/ which shares real-world project ideas that you can use to level up your coding skills. Developing Skills: https://read.developingskills.fyi/ covering everything from system design to soft skills, helping them progress their career from junior to staff+ or for those that want onto a management track. Takeaways BEAM was built for telephone switches in the 1980s - its reliability features translate surprisingly well to modern web and distributed systems. Erlang lost the popularity race to Java largely due to marketing, not technical merit. BEAM processes are extremely lightweight - hundreds of bytes, not kilobytes - allowing millions to run concurrently. "Let it crash" is a design philosophy, not laziness - isolating failures prevents one bad process from taking down the whole system. No shared memory between processes eliminates an entire class of concurrency bugs. Per-process garbage collection means no "stop the world" pauses like you get in Java. Hot code loading lets you upgrade a running system without downtime - but it requires careful thought about data structure changes. BEAM's built-in introspection lets you inspect a live system in real time, making debugging far faster. Elixir and Gleam are modernising the syntax and bringing new developers onto the BEAM platform. BEAM doesn't solve everything - good architecture still matters, but it gets you there faster than most alternatives.

Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.

Hosts and Guests

Nobody is credited on this episode yet.

Credit the people on this episode

Be the first to rate this episode

More episodes

All episodes
  1. AI is putting me through the 5 stages of grief!

    Nov 12, 202649 minAudio

    Coding Chats Episode 85 - John talk to Ian, a 51-year-old software engineer with 25 years of experience, who describes going through something like grief as AI takes over work he spent decades mastering. He no longer...

    Credit the people on this episode

  2. How I got into big tech with a non-traditional background. From hot furnaces to cool cloud computing

    Oct 29, 20261 hr 3 minAudio

    Coding Chats Episode 84 - John talks to Raj, who spent over ten years maintaining COBOL on mainframes before becoming a Principal Solutions Architect at AWS, with no computer science degree. He shares how he made the...

    Credit the people on this episode

  3. Is plan mode dead? And other questions around the latest ChatGPT.

    Oct 22, 202649 minAudio

    Coding Chats Episode 83 - In this episode, VB from OpenAI’s developer experience team explains why he thinks plan mode is obsolete and how coding agents have shifted from step-by-step instructions to outcome-driven,...

    Credit the people on this episode

  4. The truth about technical scrum masters that most people miss

    Oct 15, 202648 minAudio

    Coding Chats Episode 82 - John talks with Dave Westgarth, head of delivery at a Databricks consultancy. Dave shares his path from a psychology degree and McDonald's into tech, and they discuss why the Scrum Master role...

    Credit the people on this episode

  5. I took CTO title not knowing what I was getting into

    Oct 8, 202653 minAudio

    Coding Chats Episode 81 - Ben Howdle talks to John Crickett about being a first time CTO in a start-up. Ben, author of The First CTO, shares what changes when you move from building technology to leading a technical...

    Credit the people on this episode