In case anyone thinks web assembly is interesting as a Nim backend or for 
playing around generally, they came out with a browser preview milestone today. 
[http://v8project.blogspot.com/2016/10/webassembly-browser-preview.html?m=1](http://forum.nim-lang.org///v8project.blogspot.com/2016/10/webassembly-browser-preview.html?m=1)

So I believe I read that the binary format is basically stable now. Of course 
the simplest way to use Nim code is emscripten which now supports web assembly. 
They also have the S-expression wast2wasm tool and this 
[https://github.com/WebAssembly/binaryen/wiki/Compiling-to-WebAssembly-with-Binaryen#cfg-api](https://github.com/WebAssembly/binaryen/wiki/Compiling-to-WebAssembly-with-Binaryen#cfg-api)
 which to me actually the fun thing would be to go more directly from Nim to 
the bytes. Directly meaning skipping the external tools.

Anyway, at least if someone is learning or something and wants to experiment 
with program compilation generally, if they happen to know about Nim and web 
assembly, they seem (to me) like an interesting target. Which I may play with 
it a bit in a non-serious way.

Reply via email to