I'm a grad student in game development and programming and I'm studying the Quake family of engines. To that end, I developed a tutorial, complete with a small test unit program, on how Doom, Quake, and Quake 2 use malloc() and free() manage their memory. The tutorial is here on my site:
I know it's not always ideal to have links in theses forums - moderators, is their a submission method where I could offer this up as a post on gamedev.net itself as well? It took me several hours to put this together, and I'm hoping it can help beginning programmers learn how to manage memory. Granted, its the C language, which isn't used as often nowadays, but I'm pretty proud of this article.
I hope someone gets some use out of it!
1 reply to this topic