[gameprogrammer] Re: Java Game Programming ok?
- From: Paulo Pinto <pjmlp@xxxxxxxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Thu, 21 Oct 2004 13:46:57 +0200
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
- References:
- [gameprogrammer] Java Game Programming ok?
- From: Scott Harper
- [gameprogrammer] Re: Java Game Programming ok?
- From: Bob Pendleton
- [gameprogrammer] Re: Java Game Programming ok?
- From: Dave Slutzkin
- [gameprogrammer] Re: Java Game Programming ok?
- From: Chris Nystrom
Other related posts:
- » [gameprogrammer] Java Game Programming ok?
- » [gameprogrammer] Re: Java Game Programming ok?
- » [gameprogrammer] Re: Java Game Programming ok?
- » [gameprogrammer] Re: Java Game Programming ok?
- » [gameprogrammer] Re: Java Game Programming ok?
- » [gameprogrammer] Re: Java Game Programming ok?
- » [gameprogrammer] Re: Java Game Programming ok?
- » [gameprogrammer] Re: Java Game Programming ok?
- » [gameprogrammer] Re: Java Game Programming ok?
- » [gameprogrammer] Re: Java Game Programming ok?
- » [gameprogrammer] Re: Java Game Programming ok?
- » [gameprogrammer] Re: Java Game Programming ok?
- [gameprogrammer] Java Game Programming ok?
- From: Scott Harper
- [gameprogrammer] Re: Java Game Programming ok?
- From: Bob Pendleton
- [gameprogrammer] Re: Java Game Programming ok?
- From: Dave Slutzkin
- [gameprogrammer] Re: Java Game Programming ok?
- From: Chris Nystrom