4 ms·
Are there any plans to have the Scala compiler emit native code? An LLVM front-end would make it much more appealing for general use. Perhaps as a sane (?) alt
by nimrody 16y ago
Are there any plans to have the Scala compiler emit native code?
An LLVM front-end would make it much more appealing for general use. Perhaps as a sane (?) alternative to C++ in the high performance computing arena.
- jonburs 16y agoYou'd need a pretty hefty support library to add the JVM-provided features Scala relies on. Garbage collection is obviously a major one, but there are also the pieces of the standard Java libraries that Scala builds on top of (though I'm not sure how deep those dependencies run). GCJ attempted to do this for straight Java; I don't believe many people consider it a success.