Hot Code Reloading in C
Why Hacker News recommends it
HN commenters cite it as a hands-on example of hot reloading and live coding in C.
What it is
A long Tsoding Daily programming stream in which he implements hot code reloading in C by loading a dynamic library at runtime without stopping the main program. It also touches on migrating struct versions across reloads.
Recommended by 1 HN commenters across 1 different months, 2024 to 2025.
What Hacker News said
Recommends fainpul · 2025-06 · on “Malleable software: Restoring user agency in a world of locked-down apps”
For anyone interested in this: Tsoding (Twitch and YouTube streamer of "recreational programming") demonstrates this in one of his projects, where he hot reloads a dynamic library without interrupting the main program, to test different functionality. [this video]
Cites el_oni · 2024-01 · on “C and C++ Hot-Reload/Live Coding”
There is a tsoding daily video with hot code reloading in C [0]. He dicusses techniques for this. one of which is a "migration" approach, similar to database migrations. Where, for example, you have a version number in your struct. and a function for migrating from an old version to a new version. I don't think he implements it in that video though. [0] [this video]
Cites lkuty · 2025-07 · on “Interactive Programming in C (2014)”
Tsoding made a video about hot code reloading in C ( [this video] ) and also used the same concept in "My Own 3b1b Animation Engine but in C" ( [LINK] ).