Just wondering if anybody has run Scala app or web-app on Java Real-Time system?
I assume because scala is bytecode compatible with regular JVM, then it should not take much effort to run it on a Real Time JVM such as Sun Java Real-Time System ?
Edit: As per Sun Java Realtime System on VirtualMachine / cloud, I managed to run Scala's Lift framework using Sun Java Realtime system on SuseLinuxEnterprise Realtime Extension on top of VMWare Workstation 6.5
The web-app will not be behaving as a real-time (as it runs on VMWare), but it's a start.
Scala source code compiles to Java bytecode, so it can execute on any JVM. It also provides complete interoperability with Java, and hence, we can reference Java from Scala and vice versa with ease.
Before the luxurious, full-featured ecosystems and programming languages of today, things like Data Science used to be significantly different. One language that has been used a lot in the past and is still used today is Scala.
While any Java library can be used in Scala exactly as it would be in Java, for libraries involving futures or collections, we really want to break free of the Java APIs and be able to use Scala futures and collections. For this, Scala includes standard libraries that provide the necessary conversions.
Scala runs on the Java platform (Java virtual machine) and is compatible with existing Java programs.
Per this sun.com FAQ entry, all J2SE applications are supposedly compatible with the Java RTS. The important part there is where it says that all RTSJ implementations must pass the Java TCK to be considered compatible.
Scala runs on JamaicaVM, a clean room implementation of the Java runtime environment with a static compiler and a fully deterministic garbage collector.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With