3 ms·
Ah, so since Scala Native is not built on the JVM you can't just take a pre-existing Java library and make it interop. You need it to be real Scala. The only op
by Negative1 10y ago
Ah, so since Scala Native is not built on the JVM you can't just take a pre-existing Java library and make it interop. You need it to be real Scala. The only options then are to use a convertor or manually port the library from Java to Scala?
- grogs 10y agoYep, or drop the dependency. E.g. For joda specifically, you should probably move to Java 8 date API, which is more likely to be ported. Bare in mind that scalajs has the same issue and a lot of work has already been done!