Because WASM is compiled ahead-of-time from Java bytecode, the game logic runs much closer to native speed than interpreted JS.
Because it runs in a browser via Wasm, it is compatible with Windows, macOS, Linux, and even some mobile browsers or Chromebooks. The Technical Hurdle: OpenGL to WebGL eaglercraft 1.12 wasm