Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MAXIMUM7

macrumors newbie
Original poster
Nov 15, 2007
3
0
Is it possible to just write a Java program without using the Runtime behind it?

I.E. compile it straight to Machine Code like you would a C++ program?
 

robbieduncan

Moderator emeritus
Jul 24, 2002
25,611
893
Harrogate
There are Java bytecode->native compilers out there, but realistically why would you? Java runs more than fast enough in a decent runtime. In some cases it actually runs faster than compiled C++ (normally as the C++ is compiled to the lowest common denominator x86 and the Java gets dynamically compiled at runtime to use ALL the CPU features available).

There is quite a list here
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.