[gameprogrammer] Re: Java Game Programming ok?

They did it for performance reasons at the time.

Chris Nystrom wrote:

>On Thu, 21 Oct 2004 11:06:59 +1000, Dave Slutzkin
><daveslutzkin@xxxxxxxxxxx> wrote:
>
>  
>
>>Autoboxing of primitive types is the other big one, for me.  It
>>basically means that there's automatic conversions from Integer to int,
>>Double to double, etc.  It doesn't take away the inefficiency of having
>>to allocate space for an object when you just want to store an int,
>>however.  So that's good but not great, especially for games where
>>efficiency is key.
>>    
>>
>
>This always seems like a wierdness in java to me: that they had
>primitive types and object types. I am not sure if I am saying that
>right. It seems like they could not make up thier mind which way to
>go, so they just through in both. Admittedly I am far from an expert
>on this.
>
>Chris
>
>  
>



---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: