News for hackers. Stuff that matters.
Re:Server APIs Project by paulddraper on Tuesday October 25, 2016 @05:25PM (#12791768)
Scala compiles to LLVM too.

https://github.com/scala-native/scala-native

Though it's experimental (and will likely remain that way for a while).

Re:Server APIs Project by virtualwhys on Wednesday October 26, 2016 @12:47AM (#12793939)
> 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

Re:Server APIs Project by paulddraper on Wednesday October 26, 2016 @12:56PM (#12798179)
I 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.

Re:Server APIs Project by premium-concern on Wednesday October 26, 2016 @06:11PM (#12801144)
Scala-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!

Re:Server APIs Project by erichocean on Tuesday October 25, 2016 @05:42PM (#12791929)
Woah! That's badass. :)
Re:Server APIs Project by Cyph0n on Tuesday October 25, 2016 @07:13PM (#12792613)
I am aware of that, but it's not a fair comparison.
Re:Server APIs Project by paulddraper on Tuesday October 25, 2016 @07:18PM (#12792640)
Also, most Scala deployments are "statically linked", i.e. all JAR/class files are together.
Re:Server APIs Project by Cyph0n on Tuesday October 25, 2016 @07:23PM (#12792662)
Yes, but you need to bundle a JRE and the Scala library (~5 MB).
Re:Server APIs Project by trevor-e on Wednesday October 26, 2016 @12:18AM (#12793845)
I 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?
Re:Server APIs Project by stiGGG on Wednesday October 26, 2016 @03:48AM (#12794665)
Yes, it's because Swift's ABI isn't stable yet.
Re:Server APIs Project by pjmlp on Wednesday October 26, 2016 @06:45AM (#12795413)
Starting with Java 9 you will be able to trim down the JRE just for your application, with the new introduced linker.