The BEAM VM powers some of the most reliable systems in the world. But what if you could get that legendary concurrency and fault tolerance with strong static typing from day one?
Gleam for Beginners: Strongly-Typed BEAM for Reliable Services is your friendly, practical guide to building robust back-end systems using Gleam, the modern, type-safe language designed for the Erlang ecosystem.
Starting from first principles, this book gently introduces Gleam's syntax, type system, and functional mindset-no prior BEAM experience required. You'll learn how to write code that's easy to reason about, hard to break, and a joy to maintain. Along the way, you'll see how Gleam interoperates seamlessly with Erlang and Elixir, letting you tap into decades of battle-tested libraries and tools.
This isn't theory for theory's sake. Through real-world examples and hands-on projects, you'll build reliable services that scale, recover from failure, and evolve safely over time.
Inside, you'll learn how to:
Think in types-and let the compiler catch bugs before production
Model domain logic clearly and expressively with Gleam
Build concurrent, fault-tolerant services on the BEAM
Interoperate with existing Erlang and Elixir codebases
Design APIs and services that stay reliable as they grow
Whether you're a beginner exploring functional programming, an Elixir or Erlang developer craving stronger guarantees, or a backend engineer focused on correctness and long-term maintainability, this book will show you how Gleam brings clarity and confidence to BEAM development.