3 ms·
Scala compiles to LLVM too. https://github.com/scala-native/scala-native https://github.com/scala-native/scala-native Though it's experimental (and will likel
by paulddraper 10y ago
Scala compiles to LLVM too.
https://github.com/scala-native/scala-native https://github.com/scala-native/scala-native
Though it's experimental (and will likely remain that way for a while).
- erichocean 10y agoWoah! That's badass. :)
- Cyph0n 10y agoI am aware of that, but it's not a fair comparison.
- paulddraper 10y agoAlso, most Scala deployments are "statically linked", i.e. all JAR/class files are together.
- Cyph0n 10y agoYes, but you need to bundle a JRE and the Scala library (~5 MB).
- trevor-e 10y agoI don't know a whole lot about any of this, but isn't Swift's library bundled with iOS apps? Or is that for a different purpose, such as iOS being able to run apps that target different versions of Swift?
- stiGGG 10y agoYes, it's because Swift's ABI isn't stable yet.
- pjmlp 10y agoStarting with Java 9 you will be able to trim down the JRE just for your application, with the new introduced linker.
- virtualwhys 10y ago> and will likely remain that way for a while Not so sure, the alt-Scala train is moving fast (i.e. Dotty, Scala Meta, and Scala Native). Scala.js is already production ready; come 2019 I'd consider present day Scala deprecated, replaced by Dotty with Scala.js and Scala Native compile targets. In fact, initial release of the Scala to Dotty Migration Tool[1] is now available It's happening ;-) [1] http://scala-lang.org/blog/2016/10/24/scalafix.html http://scala-lang.org/blog/2016/10/24/scalafix.html
- paulddraper 10y agoI base my statement on that fact that it's basically just a student working on it. Scala.js acquired significant community help because it has some very strong motivation: tons of software is written for browsers, and sans-plugins, browsers only run JS.
- premium-concern 10y agoScala-Native has already a sizable community around it. It got almost 100 PRs shortly after it was published. Is everything perfect? No! Can you write stuff with it and have it work? Absolutely!