r/C_Programming • u/UltimaN3rd • Jun 25 '26
Video Cartridge Style Development - Everything in One .exe File!
https://www.youtube.com/watch?v=i0Dip6rBNRA
31
Upvotes
r/C_Programming • u/UltimaN3rd • Jun 25 '26
6
u/v_maria Jun 26 '26
kinda nasty. feels like this the next step is just flatpack
also yeah cards run on very predictable hardware platforms. its a very controlled environment, which is rather different from the modern PC
7
u/Daveinatx Jun 25 '26
Pushing back on this one. One of the issues in modern programming is systemic complexity. We typically link against DLLs outside of our control, such as operating system and graphics provided libraries.
As soon as revisions occur, static bound executables are now obsolete.
Next, let's say we are a successful indie shop. Once we start releasing multiple games, it would be natural to develop shared libraries. Anytime we statically link to them, it means it's bound to that version. Maybe we developed some tools we like better, a better engine or display. We can't take advantage of it unless we re-compile and release old executables.
In Linux, I can understand more about building source into a single executable. But, how often do we purchase game source?
Dynamic libraries are more than saving memory. It's about flexibility.