CheerpJ 2.1 adds more features for bringing Java bytecode to the web

微信扫一扫,分享到朋友圈

CheerpJ 2.1 adds more features for bringing Java bytecode to the web

The company Leaning Technologies has released CheerpJ 2.1, as announced in a Medium blog post .

CheerpJ is designed to convert legacy Java applications into JavaScript and WebAssembly, thus bringing Java to the web. For this, it has an AOT compiler, a Java runtime in WebAssembly and JS, and an interoperability API on board.

SEE ALSO: Scala.js version 1.0.0 released: Compile Scala to JavaScript code

Let’s dive right in and see what’s new in CheerpJ 2.1.

Features in v2.1

CheerpJ 2.1 is a maintenance release which adds bug fixes and updates several features.

For example, v2.1 includes an updated Java exception handling: Java exceptions should now be compiled to more efficient JavaScript code. The handling of native Java reflection calls has been updated as well, and the build size of CheerpJ’s ahead-of-time JavaScript output has been reduced.

CheerpJ can now also create stub JavaScript files for native methods, allowing for custom browser-based implementations of native methods in JavaScript and WebAssembly.

Other updates introduced in v2.1 are designed to improve the robustness of the AOT compiler and JavaScript interoperability.

SEE ALSO: JavaScript on top, Python ties with Java in RedMonk rankings

CheerpJ can be used on Windows, macOS or Linux and is available as Community, Essential or Enterprise edition. As the website states, “CheerpJ is free to use for non-commercial purposes, as well as for technical evaluation. Any other use will require a license.”

The CheerpJ GitHub repository can help you get started .

See more in the blog post .

微信扫一扫,分享到朋友圈

CheerpJ 2.1 adds more features for bringing Java bytecode to the web

靠利用其它APP数据月收入1.4万美元,这个APP怎么做到的?

上一篇

互融云 移动端APP定制开发服务:按需定制 金融移动端开发我们更懂您

下一篇

你也可能喜欢

CheerpJ 2.1 adds more features for bringing Java bytecode to the web

长按储存图像,分享给朋友