RoboVM 1.1 發布,Java 轉原生平臺代碼

jopen 9年前發布 | 14K 次閱讀 RoboVM

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.

    </li>

  • 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).

    </li>

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

    </li>

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

    </li>

  • 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.

    </li>

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

    </li>

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

    </li> </ul> 來自

     本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
     轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
     本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!