POV-Ray : Newsgroups : povray.off-topic : C# vs Java in memory management : C# vs Java in memory management Server Time
3 Sep 2024 21:13:38 EDT (-0400)
  C# vs Java in memory management  
From: Darren New
Date: 24 Jul 2010 13:43:52
Message: <4c4b2658$1@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.