Hacker News new | ask | show | jobs
by zacmps 2077 days ago
Not to disparage Nim, but I can think of a number of other languages where this is possible:

* JS, obviously

* Rust

* C/C++

* Anything else that can compile to WASM

1 comments

Fair enough. I think then we get into how easy this is to do in these. For example, can you really target the web browser vs node from the same JS codebase by simply changing the compiler invokation?