new D2.0 + C++ language

Rainer Deyke rainerd at eldwood.com
Fri Mar 20 20:45:54 PDT 2009


Christopher Wright wrote:
> Games have strict performance requirements that a stop-the-world type of
> garbage collector violates. Specifically, a full collection would cause
> an undue delay of hundreds of milliseconds on occasion. If this happens
> once every ten seconds, your game has performance problems. This is not
> true of pretty much any other type of application.

If you spend hundreds of milliseconds on garbage collection every ten
second, you spend multiple percent of your total execution time on
garbage collection.  I wouldn't consider that acceptable anywhere.


-- 
Rainer Deyke - rainerd at eldwood.com



More information about the Digitalmars-d mailing list