Lessons from Building a Game Engine from Scratch in Gleam
summary
Built-from-scratch browser game engine written in Gleam that compiles to Javascript for the client and Erlang on the BEAM for the server, currently running but still in progress; implements requestAnimationFrame with fixed-update, variable-render semantics, uses an accumulator and max-loop guard to avoid dropped frames and death spirals, and demonstrates recursive frame-consuming updates; leverages LLMs for rapid domain exploration, naming, and system design and reports practical performance numbers from those experiments.
AI-written summary · about
chapters (6)
- 0:00Why build a game engine
- 2:46Why Gleam beats TypeScript
- 5:11Two key lessons
- 6:56Hidden complexity in game loop
- 16:47AI accelerates learning
- 19:16Ambitious projects change careers
related talks
43mClosing Keynote
23mMy First Rust Project: Creating a Roguelike with Amethyst
20mA Tour of the C++ Engine which Powers That Design MMO Called Figma
27m“Breaking Out of Box”
23mEvolving API design in Rust
01h 02mBlazing Trails: Building the World's Fastest GameBoy Emulator in Modern C++
22mSimulating Sand: Building Interactivity With WebAssembly
28mLet’s build a JavaScript Engine in Rust
