Top
image credit: Pxhere

WebAssembly Used by Java-to-Web Compiler CheerpJ 2.0 to Port Java Applications to Browsers

LeaningTech recently released the second major iteration of CheerpJ. CheerpJ 2.0 may convert Java applications into a mix of HTML, WebAssembly and JavaScript, so that developers can run Java applications (including applets) in browsers or integrate Java libraries into web applications. CheerpJ 2.0 uses WebAssembly to improve runtime speed.

CheerpJ 2.0 provides a full (100% of the Java 8 language), modular, optimized Java 8 SE runtime library in WebAssembly and JavaScript. The runtime is complemented by a collection of browser-based native implementations of different functionalities (e.g. multi-threading with web workers, audio with Web Audio, file system access on top of IndexedDB and more).

Read More on InfoQ