4 ms·
Apart from startup times, would this really be faster than the JVM? I don't know how the LLVM runtime stacks up - I'm guessing that there are a few targets eg t
by ninjakeyboard 11y ago
Apart from startup times, would this really be faster than the JVM? I don't know how the LLVM runtime stacks up - I'm guessing that there are a few targets eg traits that might be more efficient to implement in native code as Scala would be trying to work around what exists in the JVM and Java Bytecode but I have a feeling that it would be very specific use cases like embedded systems that would be considering LLVM as a target where as the JVM would still be preferred in most circumstances? I'm asking from a fairly naive place - I'm genuinely interested and curious to hear some use cases where LLVM would be almost strictly better.
- pjmlp 11y agoActually you could already do it today. RoboVM uses LLVM and quite a few People were using Scala with it. As "the JVM" there are plenty to choose from. Embedded vendors do have implementations that run with a few hundred KBs or 1-2 MB depending on the use case. I would say it is just yet another implementation. Personally I find healthy that languages have multiple implementations, specially since it clears the confusion between language and implementation.