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 in the Win32 platform layer code. This way he can keep platform code and game code separate and reload the game code at runtime if any changes are made. Being new to this technique, I was impressed to say the least.
I always assumed the same functionality was available in the linux environment, but I hadn't bothered to look it up. Now I know.
He compiles the game code as a dll and dynamically loads it at runtime in the Win32 platform layer code. This way he can keep platform code and game code separate and reload the game code at runtime if any changes are made. Being new to this technique, I was impressed to say the least.
I always assumed the same functionality was available in the linux environment, but I hadn't bothered to look it up. Now I know.
For those who want to learn how to do this in Win32, here's the episode I mentioned above - https://www.youtube.com/watch?v=WMSBRk5WG58