d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Jdk 8
Prev12
Add Reply New Topic New Poll
Member
Posts: 1,995
Joined: Jun 28 2006
Gold: 7.41
Jun 11 2014 07:53am
Quote (m0hawk @ Jun 10 2014 06:08am)
I had read on these forums somewhere that java had reached the point where it was almost as fast as C++ and other non-vm languages because of the improvements in the language itself and the additional power today's computers have. Maybe that still doesn't apply to graphics though


Java has become a very fast language. It is comparable to C++ while still maintaining it's platform independence. However, because it is platform independent, it still sucks when it comes to hardware manipulation. This is where C++ is still king. You can, however, implement native libraries like rockonkenshin said, but then you have to ask yourself why are you even using java at all? You just tied your implementation down to a specific set of hardware and dissolved the platform independence. You may as well have just done the entire project in C++ from the start.
Member
Posts: 1,241
Joined: Jun 25 2011
Gold: Locked
Jun 11 2014 11:58am
Quote (Minkomonster @ Jun 11 2014 03:53pm)
Java has become a very fast language. It is comparable to C++ while still maintaining it's platform independence. However, because it is platform independent, it still sucks when it comes to hardware manipulation. This is where C++ is still king. You can, however, implement native libraries like rockonkenshin said, but then you have to ask yourself why are you even using java at all? You just tied your implementation down to a specific set of hardware and dissolved the platform independence. You may as well have just done the entire project in C++ from the start.


And what about unity and jmonkeyengine, from the demos they work reasonnably fast
Member
Posts: 11,637
Joined: Feb 2 2004
Gold: 434.84
Jun 12 2014 06:38am
Quote (m0hawk @ Jun 11 2014 12:58pm)
And what about unity and jmonkeyengine, from the demos they work reasonnably fast


Unity isn't a Java framework. JMonkeyEngine I believe also uses native components and works pretty well. If you were going to start a new project I would have to recommend Unity over anything else.
Go Back To Programming & Development Topic List
Prev12
Add Reply New Topic New Poll