Java > Scala

Marco Leise Marco.Leise at gmx.de
Fri Dec 2 10:30:59 PST 2011


Am 02.12.2011, 18:54 Uhr, schrieb Somedude <lovelydear at mailmetrash.com>:

> Le 01/12/2011 08:54, Kagamin a écrit :
>> Jeff Nowakowski Wrote:
>>
>>>> You wouldn't want to use GC in performance critical code anyway, so
>>>> it probably doesn't matter that its that slow.
>>>
>>> Check the slides again. It has to run at 30-60 frames per second. This
>>> is "soft" real-time.
>>
>> How does it work in Supreme Commander, for example (.net)?
>
> If you want something that is comparable, you can have a look at the
> code of the Spring RTS game engine.
> I used to hack a little on it a long while ago.

I could imagine it is most important for fast online games, like first  
person shooters or racing games. The GC stopping the application four a  
couple ms could mean your aim 'jumps over' your opponent or you drive into  
a wall.


More information about the Digitalmars-d mailing list