View Single Post
Old 09-16-2003, 02:24 PM   #5 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,140
Belisarius is on a distinguished road
Java's speed isn't that much different than C++ anymore. Sun has really improved on that with the last few revisions.

That being said, graphics in Java ARE slower. Java doesn't have direct tie-ins to graphical API's like C++ does. So when writting a graphically intensive program, yes you should do it in C++. Especially 3-d stuff, as Java doesn't really have an API for it, and doesn't tie in to OpenGL or Direct3D. But for things such as web-services or servers, Java works just fine.

The VM is what allows you to compile once, run anywhere. Yes, you need to have a VM installed, but that's trivial. Apple has their own. For BSD users, Blackdown does a Java implementation. And for Windows/Solaris/Linux, Sun's implementation is just right.
__________________
GitS
Belisarius is offline   Reply With Quote