As long as you don't do any "stupid" things a gen0 garbage collection is far
faster than what you need for a game (MUCH shorter than 20ms)
In fact there are at least two commercial games out there that are based on
.net and none of them has issues getting 100++ fps.
Also tons of 3d apps exist and none of them have any perf-issues related to
GCing, so dont worry about the GC.

Greets
Andreas

----- Original Message ----- From: "Cedric Le Dressay" <[EMAIL PROTECTED]>
To: <mono-devel-list@lists.ximian.com>
Sent: Tuesday, July 19, 2005 12:22 PM
Subject: [Mono-devel-list] Limit Garbage Collection


Dear all,

Please accept my apologies if a similar question has been asked, I have not been able to find a question to it.

.Net is an incredible step in the interroperability of languages. Nearly all software developpements can use garbage collection. Unfortunately, some others cannot like game developpement. Typically, a game cannot be reasonnably freezed more than 20 ms (50 frames per second). Sometimes requirements are even higher.

Is there a way with mono to disable garbage collection and use the old desalloc model? Is there a way to "cheat" and instead of really desollocating an objet of a particuliar type to put it in a garbage list. This garbage list will be used for the next allocation of the same type...

What are your thoughts?

Thanks for your time,

Cedric


_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to