Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nunchuckninja
· 7y ago · 0 comments
Scala and rust both compile to JS too I think.
Comments
[–]
dom96
7y ago
Do they have first-party JS backends though? I think that's what sets Nim apart, the Nim compiler includes the JS backend which means the JS backend is always up to date with the latest Nim developments.
[–]
nunchuckninja
OP
7y ago
Sorry I was wrong it's asm.js for rust. Scala does have an amazing first party backend that I love using
[–]
nickitolas
7y ago
I didn't know there was an asm.js backend for rust. I do know there are emscripten and llvm backends for webassembly.
[–]
steveklabnik
7y ago
Rust
sorta
can, but prefers to be compiled to WebAssembly.