Re:Rust: Enable WebAssembly backend by default
by rapind on Sunday November 26, 2017 @05:06PM
(#15783309)
Nim comes to mind. https://nim-lang.org/
[ Parent
| on HN ]
Re:Rust: Enable WebAssembly backend by default
by dom96 on Sunday November 26, 2017 @05:17PM
(#15783374)
Thank you for mentioning Nim here. :)
To expand a bit, Nim features its own JS backend with a high proportion of the stdlib supporting it. You can access the DOM via the `dom` module[1] and build some pretty cool stuff[2][3]. It doesn't target WebAssembly (yet) however.
On the systems side, Nim compiles to C/C++/ObjC and manages memory via a soft real-time GC (or via a choice of other GCs including boehm).
1 - https://nim-lang.org/docs/dom.html
2 - https://nim-lang.org/araq/karax.html
3 - https://picheta.me/snake/ (source available here: https://github.com/dom96/snake)