Handmade Hero Day 021 - Loading Game Code Dynamically
What it is
Day 21 of Casey Muratori's Handmade Hero, which covers loading game code dynamically from a DLL on Windows. He builds hot reloading of C game code from scratch in about an hour and a half.
Why Hacker News recommends it
Recommended as a clear, from-scratch demonstration of how simple code hot-reloading is with plain OS facilities.
- 2 people recommended it
- 2 different months
- 0 strong recommendations
- first 2021, last 2024
What HN commenters said
“For those who want to learn how to do this in Win32, here's the episode I mentioned above”
Shows how to dynamically load game code from a Win32 platform layer
coley, 2022-10 · Recommendation · in “Anatomy of Linux Dynamic Libraries”
“Casey Muratori writes a hot-reloading functionality for C from scratch in about an hour”
Builds C hot-reloading from scratch in about an hour with detailed explanations
kleiba, 2024-01 · Recommendation · in “C and C++ Hot-Reload/Live Coding”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: handmade hero, dll, hot reload, win32, c programming
Also recommended by the same people
lectureSimple Code, High PerformanceMolly Rocket · 6 HN recommenders · 2021–2025
talkOverwatch Gameplay Architecture and NetcodeGDC Festival of Gaming · 16 HN recommenders · 2019–2025
talkRustConf 2018 - Closing Keynote - Using Rust For Game Development by Catherine WestRust Programming Language · 9 HN recommenders · 2018–2023
talkA Deep Dive into Nanite Virtualized GeometrySIGGRAPH Advances in Real-Time Rendering · 7 HN recommenders · 2021–2026
interviewHow Crash Bandicoot Hacked The Original Playstation | War Stories | Ars TechnicaArs Technica · 13 HN recommenders · 2020–2026
talkJonathan Blow - How to program independent games - CSUA SpeechAlexandre Franco · 9 HN recommenders · 2015–2026
talkIdeas about a new programming language for games.Jonathan Blow · 7 HN recommenders · 2014–2025
talkExploring the Tech and Design of NoitaGDC Festival of Gaming · 7 HN recommenders · 2020–2026