Scala 和 Java 实时系统

发布于 2024-08-27 10:23:35 字数 441 浏览 8 评论 0原文

只是想知道是否有人在 Java 实时系统上运行过 Scala 应用程序或 Web 应用程序?

我假设因为 scala 的字节码与常规 JVM 兼容,那么在实时 JVM(例如 Sun Java 实时系统)上运行它应该不会花费太多精力?

编辑: 根据虚拟机/云上的Sun Java实时系统,我设法在 VMWare Workstation 6.5 之上的 SuseLinuxEnterprise Realtime Extension 上使用 Sun Java Realtime 系统运行 Scala 的 Lift 框架

Web 应用程序不会表现得像实时应用程序(因为它在 VMWare 上运行),但它是一个开始。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

淡紫姑娘! 2024-09-03 10:23:35

根据此 sun.com 常见问题解答条目,所有 J2SE 应用程序都是据称与 Java RTS 兼容。其中重要的部分是,所有 RTSJ 实现都必须通过 Java TCK 才能被视为兼容。

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.

笙痞 2024-09-03 10:23:35

Scala 在 JamaicaVM 上运行,JamaicaVM 是 Java 运行时环境的洁净室实现,具有静态编译器和完全确定性的垃圾收集器。

Scala runs on JamaicaVM, a clean room implementation of the Java runtime environment with a static compiler and a fully deterministic garbage collector.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文