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.

Reply via email to