On 19 January 2012 09:20, Fabrizio Giudici <[email protected]>wrote:

> On Thu, 19 Jan 2012 04:09:06 +0100, Josh Berry <[email protected]> wrote:
>
>
>  And, again, read what you wrote.  You read massive arrays of
>> *primitives* into memory.  Now... what if that primitive was an image
>> and you'd like to treat it as such?  In java, you're hosed.  It is
>> getting copied to the heap.
>>
>
> Perhaps I didn't understand the point, but in Java you can used memory
> mapped I/O and have it accessible outside of the heap.
>
>
Sure you can.  At least, you can since (the original) NIO landed on our
desktops.
You can also quite happily interact with images held in GPU memory, openGL
textures are a good example of this.



> Honestly I have also other questions. I only had a short experience with
> gaming (from the programming point of view) between 1992-1995, across my
> primary graduation, when I was writing for fun a flight simulator. It was
> DOS time, accessing memory beyond 640K was already a problem and I started
> with a drawLine() getting up to the (gamish) simulation of a US
> supercarrier getting attacked by a USSR Tupolef Bear. I did all the
> primitives by myself, also trying alternate ways than the state of the art,
> and I had things that other games of the time didn't have, such as full 3D
> cockpits and Doppler effect on digital audio (of course, the application
> had never been polished enough for being commercialized, since it was just
> fun). So, I have an idea of what pulling the CPU power from any bit means.
> But is it today still the same thing? I understand that games are much more
> complex, but we have specialized hardware for graphics and sound... Are
> really technical the reasons for preferring C# to Java? Or maybe the reason
> game developers prefer C# is simply the fact that Microsoft has created
> since many years a gaming business segment, and Sun just didn't?
>
>
> --
> 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 javaposse+unsubscribe@**
> googlegroups.com <javaposse%[email protected]>.
> For more options, visit this group at http://groups.google.com/**
> group/javaposse?hl=en <http://groups.google.com/group/javaposse?hl=en>.
>
>


-- 
Kevin Wright
mail: [email protected]
gtalk / msn : [email protected]
quora: http://www.quora.com/Kevin-Wright
google+: http://gplus.to/thecoda
<[email protected]>
twitter: @thecoda
vibe / skype: kev.lee.wright
steam: kev_lee_wright

"My point today is that, if we wish to count lines of code, we should not
regard them as "lines produced" but as "lines spent": the current
conventional wisdom is so foolish as to book that count on the wrong side
of the ledger" ~ Dijkstra

-- 
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