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."
Thread beginning with comment 534148
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: GC is for scripting
by grable on Thu 6th Sep 2012 23:08 UTC in reply to "GC is for scripting"
grable
Member since:
2006-11-24

Garbage collecting is for interpreted languages and short scripts, not for anything else.


Thats not entirely true though, there are some benefits to limited garbage collection for some data structures and certain language features.

I would certainly want one when implementing closures in a language feks.

Reply Parent Score: 3