Re:Java to Scala converter
by TylerE on Friday September 27, 2013 @12:37PM
(#6457856)
Huge amounts. Practical scala apps leverage huge parts of the Java infrastructure. The Scala types are often thin wrappers over the Java types, JDBC, NIO, etc. It'd be a bit like trying to write a C++ app without access to, say, the STL, or Boost.
[ Parent
| on HN ]
Right but if i can convert the java types to be scala code I can use the scala compiler to compile to whatever my target is.
The point is that currently the Scala compiler provides one target - the JVM. Support for .NET was officially dropped last year, and nobody seems to care.
Scala and the JVM are very tightly coupled - targeting LLVM or something should be possible, but getting that to run with high performance would be very difficult.