CheerpJ 3.0: a JVM replacement in HTML5 and WASM to run Java on modern browsers

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • v86

    x86 PC emulator and x86-to-wasm JIT, running in the browser

    To be really safe, if you run Windows and are jonesing for some ActiveX action, you can run WSL, and LXDE on WSL, and run https://copy.sh/v86/?profile=windows98 on Firefox on LXDE[1].

    That’s maybe enough layers of indirection to make ActiveX safe :-)

    [1] https://imgur.com/a/VHYehLQ

  • CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  • j2cl

    Java to Closure JavaScript transpiler

  • Graal

    GraalVM compiles Java applications into native executables that start instantly, scale fast, and use fewer compute resources 🚀

    Yes, and it will JIT compile the code to native if you're using GraalVM:

    https://github.com/oracle/graal/tree/master/wasm

    But the point of JNI is to provide language bindings. WASM doesn't automatically fix the need for those.

  • Bytecoder

    Framework to interpret and transpile JVM bytecode to JavaScript, OpenCL or WebAssembly.

  • wasmtime-dotnet

    .NET embedding of Wasmtime https://bytecodealliance.github.io/wasmtime-dotnet/

    Maybe embed wasmtime? I'm familiar with https://github.com/bytecodealliance/wasmtime-dotnet but perhaps this for jvm? https://github.com/kawamuray/wasmtime-java/blob/master/examp...

    I too love the idea of embedding wasm modules to be used across platforms.

  • wasmtime-java

    Java or JVM-language binding for Wasmtime

    Maybe embed wasmtime? I'm familiar with https://github.com/bytecodealliance/wasmtime-dotnet but perhaps this for jvm? https://github.com/kawamuray/wasmtime-java/blob/master/examp...

    I too love the idea of embedding wasm modules to be used across platforms.

  • disable-webassembly

    Browser hacks to disable WebAssembly (WASM)

    Just in case those who prefer not to allow Java need this, here's some info about disabling WASM in various browsers.

    https://github.com/stevespringett/disable-webassembly

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • kotlin-wasm-examples

    Examples with Kotlin/Wasm

    For anyone interested in the Kotlin side of things:

    Kotlin has a great compat with Kotlin/JS[0]. they also have Compose For Web which is more WASM based[1] though its marked as experimental

    [0]: https://kotlinlang.org/docs/js-overview.html

    [1]: https://github.com/Kotlin/kotlin-wasm-examples/tree/main/com...

  • ndk

    The Android Native Development Kit

    Android folks are thinking about using WASM for NDK, with compilation to native code on the PlayStore.

    https://github.com/android/ndk/issues/1771

  • jvm-alternatives-to-js

    Repository comparing JVM alternatives to JS: CheerpJ, GWT, JSweet, TeaVM, Vaadin Flow, bck2brwsr (bonus: React, Dart)

    A while back CheerpJ had a huge footprint and terrible startup time compared to TeaVM: https://renato.athaydes.com/posts/comparing-jvm-alternatives...

    TeaVM has become even smaller and faster since that article was published. The test suites are here in case someone wants to conduct a rematch: https://github.com/renatoathaydes/jvm-alternatives-to-js

  • campus-qr

    Open source system for contact tracing at universities, based on scanning QR-codes. Written in Kotlin.

    The company I work for was a very early adopter of kotlin/js. During the pandemic we published an open source contact tracing web platform aimed at universities. https://github.com/studoverse/campus-qr

  • asmble

    Compile WebAssembly to JVM and other WASM tools

    I wrote https://github.com/cretz/asmble which has an AOT compiler and interpreter for WASM. Haven't worked on it for a while though.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • WASM Is the New CGI

    7 projects | news.ycombinator.com | 10 Oct 2024
  • Show HN: Compiling C in the browser using WebAssembly

    12 projects | news.ycombinator.com | 7 Oct 2024
  • PyScript: An open source platform for Python in the browser

    14 projects | news.ycombinator.com | 16 Aug 2024
  • Waxolotl – a small language that compiles to WebAssembly text format

    3 projects | news.ycombinator.com | 18 May 2024
  • Parquet-WASM: Rust-based WebAssembly bindings to read and write Parquet data

    5 projects | news.ycombinator.com | 22 Apr 2024