Hacker News new | ask | show | jobs
by ilaksh 1055 days ago
I think the short answer is it's built on top of C tooling so it doesn't really need another way to do it because you can use emscripten. Search their forum for "web assembly".

I did ask him about it eight years ago: https://forum.nim-lang.org/t/1392#8675

But that was a little early on and there have been other priorities for the language.

1 comments

The reason I ask is that I was poking around and saw some projects to help with wasm compilation, and on this random list of wasm-capable languages [0], Nim is listed as "Work in Progress." Notably, Swift is ranked higher, and I view Swift as extremely experimental when it comes to wasm

[0]: https://github.com/appcypher/awesome-wasm-langs

With 2.0 out and ORC being default it compiles and works just fine. There's not too many libraries specializing for wasm stuff though, so you gotta use emscriptens or similar.