HackerTube

THE VIDEO SHELF · hot reloading game code

Handmade Hero Day 021 - Loading Game Code Dynamically

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 HN readers recommended it

Recommended as a clear, from-scratch demonstration of how simple code hot-reloading is with plain OS facilities.

This is a summary from the source dataset, not an endorsement by Hacker News or the video creator.

Video & recommendation details

Creator / channel
Molly Rocket
Topic
hot reloading game code
Format
tutorial
Level
intermediate
HN recommenders in dataset
2
HN mentions in dataset
4
Recommendation years in dataset
2021–2024

These counts and years describe the included Hacker News records; they are not YouTube views or the video’s publication date.

From the original HN conversations

Excerpts from the recorded comments. Follow each source for the full comment and surrounding discussion.

  • The first time I learned about dynamic loading was while watching an episode of Casey Muratori's Handmade Hero - a series where he builds a video game, in C, from scratch. He compiles the game code as a dll and dynamically loads it at runtime …

    coley on Hacker News · 2022-10
    In Anatomy of Linux Dynamic Libraries
  • In one of the earlier episodes of the Handmade Hero series, Casey Muratori writes a hot-reloading functionality for C from scratch in about an hour (while giving detailed explanations of what he's doing). The following two episodes then improve upon the initial results. [VIDEO]

    kleiba on Hacker News · 2024-01
    In C and C++ Hot-Reload/Live Coding

Summaries, classifications and recommendation records are from the HackerTube source dataset. Read about this library and its limitations.