On C/C++ undefined behaviours

Nick Sabalausky a at a.a
Sun Aug 22 12:55:20 PDT 2010


"Nick Sabalausky" <a at a.a> wrote in message 
news:i4rv1o$2fqc$1 at digitalmars.com...
> "retard" <re at tard.com.invalid> wrote in message 
> news:i4rqp4$1egl$2 at digitalmars.com...
>> Sun, 22 Aug 2010 17:50:06 +0200, Andrej Mitrovic wrote:
>>
>>> Quake 2 is a 13 year old game. :)
>>>
>>
>> The original argument was that Java code is slow, no matter what you're
>> trying to do. What kind of performance levels are you expecting?
>>
>
>
> Nobody said that.  Java apps just tend to be slower than C/C++/D ones. 
> Strutting out a GPU-bound game that was well-known to run blazingly fast 
> on sub-GHz hardware in *software* rendering mode, and saying "Look it's a 
> few hundred fps on my multi-core" doesn't really do much to disprove that.
>

Speaking of that, try running the Java one in software rendering mode, and 
compare to the original C/C++ one with software rendering on the same map 
and resolution.




More information about the Digitalmars-d mailing list