A long time ago, I was leaked the codebase of a popular id software game, both before optimization, and after.
When you ended up seeing was:
- prototype: mainly C/C++, with some assembler
- production: assembler all over. all over.
-
They also used a special malloc. I remember at the time thinking: “they freaking rewrote malloc?”. In fact the special version came from a Finnish group of uber-hackers, and even that was customized for certain corner cases when it made sense.
This all came to light when I read tcmalloc success which discusses Domas Mituzas of MySQL using tcmalloc (an open source Google perftool) to debug some nasty memory leaks.
Nice. I hope I don’t never have to use it ;)
December 10th, 2006 at 8:48 pm
“Player friend:come here to experience the pouring , thrilling and lightsome
online game, please register the following website ,they will provide the high-
speed game agency to every player, the speed and service must be the top-grade
absolutely .game
December 10th, 2006 at 8:50 pm
“Player friend:come here to experience the pouring , thrilling and lightsome
online game, please register the following website ,they will provide the high-
speed game agency to every player, the speed and service must be the top-grade
absolutely .game
January 9th, 2007 at 9:33 pm
Teenwag.com runs of postgresql compiled with tcmalloc
thanks google
Tcmalloc optimized Teenwag