|
![](/i/fill.gif) |
Interestingly enough, when writing C# video games for the XBox, one
suggestion is to avoid allocating memory each frame. The GC engine on the
xbox apparently sucks, so if you're getting more than a handful of GCs per
minute, players are going to notice. So instead, you use things like points
and vectors and matricies and arrays of vertex structures and such, all of
which allocate on the stack without heap or pointers. That's something that
would be very difficult to do in Java, if it were possible at all.
--
Darren New, San Diego CA, USA (PST)
C# - a language whose greatest drawback
is that its best implementation comes
from a company that doesn't hate Microsoft.
Post a reply to this message
|
![](/i/fill.gif) |