|
|
#1 |
|
Java without runtime?
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? |
|
|
|
0
|
|
|
#2 |
|
No. Java can only compile to byte-code to run on a Java VM.
|
|
|
|
0
|
|
|
#3 |
|
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
__________________
Sponsor me to cycle 100Km round London in the dark |
|
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| thread | Thread Starter | Forum | Replies | Last Post |
| Java Applet not working on Lion | jake4ever | Mac OS X 10.7 Lion | 19 | Feb 1, 2013 09:44 AM |
| HELP! I need Java! But don't have an earlier version installed! | bs2511feist | Mac OS X | 10 | Apr 14, 2011 07:24 PM |
| "No compatible version of java 1.5+" when opening TinyUmbrella | PSpfano | Mac OS X | 3 | Mar 31, 2011 12:37 PM |
| Using accessors in Java constructors | (marc) | Mac Programming | 4 | Dec 3, 2010 09:37 AM |
| Small Java Problem | finnschi | Mac Programming | 9 | Nov 25, 2010 04:26 PM |
All times are GMT -5. The time now is 05:42 AM.






Linear Mode

