5 ms·
There are many evolutions for Scala. Here is a compiler to compile scala code to native: https://github.com/scala-native/scala-native https://github.com/scala-n
by youjiuzhifeng 10y ago
There are many evolutions for Scala. Here is a compiler to compile scala code to native: https://github.com/scala-native/scala-native https://github.com/scala-native/scala-native
- johncolanduoni 10y agoWow, this looks like exactly what I've been looking for. What is the interop story as far as Java/existing Scala code?
- hepta 10y agoInterop with Java seems unlikely unless they keep a JVM tucked away somewhere.
- johncolanduoni 10y agoNow that I look at it, they essentially do, it's just that they implement it from a more Scala-centric point of view (e.g. implementing traits directly instead of being layered on top of a Java variant). It seems like it shouldn't be too hard to compile JVM bytecode to run on the same runtime.
- dmit 10y agoA subset of the Java standard library will be reimplemented, so most Scala code that only relies on that subset will just work. Java libraries and Scala code relying on Java dependencies will not work. This is similar to the current state of Scala.js.
- duaneb 10y agoAs of now, virtually non-existent.