WebAssembly vs JVM

Discussions compare WebAssembly to JVM bytecode, native binaries, JavaScript, and other VMs, questioning its advantages, uniqueness, and necessity as a compilation target.

πŸ“‰ Falling 0.4x Programming Languages
4,900
Comments
13
Years Active
5
Top Authors
#6284
Topic ID

Activity Over Time

2011
1
2015
68
2016
136
2017
271
2018
396
2019
487
2020
391
2021
416
2022
898
2023
779
2024
456
2025
537
2026
64

Keywords

e.g TL JIT JS CLI V8 ES6 FE BEAM WebAssembly wasm webassembly runtime bytecode compile jvm language languages rust target

Sample Comments

sanderjd β€’ Nov 3, 2023 β€’ View on HN

I honestly don't really get how wasm solves this issue. How is it better for this than natively compiled binaries or java bytecode?

MiroF β€’ May 11, 2019 β€’ View on HN

And wasm is a compilation target for languages that aren’t JS, a pretty big advantage in my book

mastrsushi β€’ May 11, 2019 β€’ View on HN

Can someone explain to me what makes Wasm any better and/or different than Javascript bytecode.

rjsw β€’ Aug 21, 2019 β€’ View on HN

Don't see the point in this unless someone were to write a HotSpot backend that generated WASM.

haolez β€’ Jan 21, 2022 β€’ View on HN

Genuine question: outside of the web browser, what's the advantages of WebAssembly over the JVM or a similar VM?

circuit10 β€’ Jan 9, 2026 β€’ View on HN

But WASM already exists and has many languages that are able to compile to it, why reinvent the wheel?

simonw β€’ Sep 24, 2025 β€’ View on HN

What would "support other languages natively" give you that WebAssembly doesn't?

exabrial β€’ Nov 29, 2016 β€’ View on HN

I'm curious, why not use JVM bytecodes for web assembly... or actually any of the legitimate, mature, optimized, hardened runtimes out there? I feel like we're reinventing the wheel, again.

fyrn- β€’ Jul 11, 2022 β€’ View on HN

There is none, one of the main objectives of WASM was to be a machine agnostic bytecode, similar to JVM bytecode for example. People have even built wasm VMs on FPGAs

taurknaut β€’ Feb 12, 2025 β€’ View on HN

No. Wasm is not useful enough yet. Neither are containers.