new D2.0 + C++ language
Christopher Wright
dhasenan at gmail.com
Fri Mar 20 15:07:59 PDT 2009
Weed wrote:
> Christopher Wright пишет:
>> What sort of applications do you develop?
>
> games, images processing
Libraries will often have no need for data structures with complex
lifestyles. There are exceptions, of course, but that's what I have
generally found to be the case. For the bulk of image processing, you
can just throw the memory management problem to the end user.
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.
Games usually have scripting languages that might make use of a garbage
collector, though. And there is research into realtime garbage
collectors that would be suitable for use in games.
More information about the Digitalmars-d
mailing list