Linked by Thom Holwerda on Thu 6th Sep 2012 21:32 UTC, submitted by MOS6510
Benchmarks "During the 4th Semester of my studies I wrote a small 3d spaceship deathmatch shooter with the D-Programming language. It was created within 3 Months time and allows multiple players to play deathmatch over local area network. All of the code was written with a garbage collector in mind and made wide usage of the D standard library phobos. After the project was finished I noticed how much time is spend every frame for garbage collection, so I decided to create a version of the game which does not use a GC, to improve performance."
Permalink for comment 534256
To read all comments associated with this story, please click here.
RE: Targeting programs for GC
by zimbatm on Fri 7th Sep 2012 13:25 UTC in reply to "Targeting programs for GC"
Member since:

Agreed. Also targeting the points where most of your garbage is created, you can try to re-use existing data structures instead of re-allocating them on each call. That's a form of manual memory management that is used in GC languages like Java.

Reply Parent Score: 2