r/learnprogramming • • Apr 05 '22

Name one programming/comp sci concept you never understood and if you understand it, try to explain it to them

Name a programming concept such as virtual functions, pointers, certain algorithms, etc that you always had a hard time understanding and why.

Someone else who reads yours and does understand it, try to explain it to them to help them learn

1.6k Upvotes

738 comments sorted by

View all comments

Show parent comments

1

u/tzaeru Apr 05 '22

In principle yes, but typically games statically bundle everything they need into a single package. Using actual containerization tech would probably just add unneeded complexity.

0

u/[deleted] Apr 05 '22

[deleted]

1

u/tzaeru Apr 05 '22

You could create e.g. a Docker image that includes cmake and then compiles and runs your application. Or it can include a pre-compiled version of your game.

But if the idea is to share this to players, it would be more convenient to simply build the game and statically link all the libraries the game needs.