RoboVM 1.1 发布,Java 转原生平台代码

jopen 9年前

RoboVM 1.1 发布,你终于可以在 Interface Builder上使用 RoboVM 创建 UI 设计了,同时还能关联你的 Java/Scala/Kotlin。

RoboVM 编译器可以将 Java 字节码翻译成 ARM 或者 x86 平台上的原生代码,应用可直接在 CPU 上运行,无需其他解释器或者虚拟机。

RoboVM 同时包含一个 Java 到 Objective-C 的桥,可像其他 Java 对象一样来使用 Objective-C 对象。大多数 UIKit 已经支持,而且将会支持更多的框架。

RoboVM 1.1 的新特性:

  • Brings Java and other JVM languages, such as Scala, Clojure, Groovy and Kotlin, to iOS devices.

  • Translates Java bytecode into machine code ahead-of-time for fast execution directly on the CPU without any overhead. The main target is iOS and the ARM processor (32-bit and 64-bit) but there is also support for Mac OS X and Linux running on x86 CPUs (both 32-bit and 64-bit).

  • Doesn't impose any restrictions on the Java platform features accessible to the developer, such as reflection or file I/O.

  • Supports standard JAR files which lets the developer reuse the vast ecosystem of 3rd party Java libraries.

  • Provides access to the full native iOS APIs through a Java to Objective-C bridge enabling the development of apps with truly native UIs and with full hardware access.

  • Integrates with the most popular tools such asEclipse, Intellij IDEA, Maven and Gradle.

  • App Store ready, with hundreds of apps already in the store.

来自