On Thu, 12 Sep 2013 09:22:18 -0700, Trent <[email protected]> wrote:
On Thursday, 12 September 2013 at 15:55:26 UTC, deadalnix wrote:
On Thursday, 12 September 2013 at 11:30:57 UTC, PauloPinto wrote:
I don't get the point, what there is VM like when I compile Java,
Scala, F#, C# native code?
Compiling such language to native code require horribly convoluted code
generation. For instance, an helloworld in java compilled natively with
gcj gives you a 50Mb (!) binary blob.
GCJ also doesn't offer improved performance over the JVM for non-trivial
code. It will reduce the startup time, since no JIT is needed, but
beyond that it doesn't really offer benefits.
Not sure about other VM->native compilation
Microsoft built the Singularity OS using a special full-native compiler
for C# called Sing#. Very cool piece of technology that I really wish they
would release to the public: http://en.wikipedia.org/wiki/Sing_Sharp
--
Adam Wilson
IRC: LightBender
Project Coordinator
The Horizon Project
http://www.thehorizonproject.org/