HackerTube

Hot Code Reloading in C

Tsoding Daily1 HN recommender · recommended in 1 month, 2024–2025
YouTube
tutorial · intermediate · evergreen · 2024–2025 on HN

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.

HN commenters cite it as a hands-on example of hot reloading and live coding in C.

3 comments from Hacker News

@fainpul2025-06 · in “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

Recommends View on HN
@lkuty2025-07 · in “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 ).

@el_oni2024-01 · in “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