I'm trying to see how far I can push the wasm backend. I used emscripten 
with the new backend to compile clang. clang now runs in the browser, 
producing wasm from user code. The browser then runs the result:

<https://lh3.googleusercontent.com/-Z30CW7-RpZU/WkLNk8x8S4I/AAAAAAAADow/gbrB9wBcnrwe6of52xoQPLRpv916dC3CgCLcBGAs/s1600/cib.png>

It loads the clang-generated wasm into an emscripten-generated runtime. It 
works with some simple cases so far.

Source: https://github.com/tbfleming/cib
Live: https://tbfleming.github.io/cib/

Browser support:
* Firefox 57: recommended
* Chrome 63: works, but doesn't cache compile of clang.wasm yet

Todd

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to