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

Share
  • April 8, 2020

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.

Source : JAXenter