On Thu, 19 Jan 2012 13:20:59 +0100, Josh Berry <[email protected]> wrote:


My impression was that you can do this, but as soon as you pull that
something out of the bytebuffer, it is now on the heap.

Correct, but why should you put something out of the bytebuffer? As Kevin said, a bytebyffer can map e.g. to fast memory such as the video card and operate there.

 There are
tricks, of course, you can provide a wrapper around a bytebuffer,
evidently, and always just use getters and setters on the bytes that
you want wrapped.  However.... to offer this as some sort of valid
replacement for just being able to define a struct is.... well, a bit

It seems we're shifting the point. I agree that mimicking a struct in Java is probably laughable, but why should I mimick a struct?

laughable.  I mean, Java already gets a reputation for being verbose.

Verbosity is a different matter than byte code limitations. Here we're mostly talking about Java-the-VM and not the language.

Again, just posing the question here is to do so rhetorically.  The
reasons are almost certainly partially technical, but not necessarily
because Sun ignored the ball and Microsoft created an environment.
Similarly, there is a reason there were few java applet games compared
to flash.  Hell, I struggle to remember any applets of note.  There is
certainly no reason java could not have done better there, either.
(There are reasons, but they did not have to be.)

Applets have deployment problems on the internet, but (honestly, I must admit I've never seen a gaming console) I suppose games are installed as desktop applications, and there are no problems with that. I'm not saying that the Sun lack of interest in the segment is the exclusive problem, but, hell, if you don't push a technology in a segment and your competitor does, figure out what happens? BTW, for Sony the C# choice couldn't be to make easier the life for developers that have already large codebases in C# and want to port to their new consoles?


--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
[email protected]
http://tidalwave.it - http://fabriziogiudici.it

--
You received this message because you are subscribed to the Google Groups "The Java 
Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to