Ben Smith got clang running in the browser quite recently, basically a 
"client-side godbolt":

https://binji.github.io/wasm-clang/

But this is just the "naked" WASM generation, the emscripten part is 
missing.

Clang is pretty big though, that page downloads nearly 80 MB data :/

On Monday, 4 November 2019 14:17:59 UTC+1, Jozsef Hegedus wrote:
>
> Hi,
>
> Is it possible to compile em++ to JS and then use the compiled em++.js to 
> compile C++ code to .js, inside the browser?
>
> I am asking this because I am thinking of porting Stan it JS : 
>
>
> https://discourse.mc-stan.org/t/compiling-cmdstan-to-https-webassembly-org-how-to-make-one-large-c-file-for-a-model-a-c-file-that-contains-everything-needed-including-stan-and-math-routines/10012/23
>
> Cheers
>
> Jozsef
>
>
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/94605d2c-13c5-4353-b344-ede5d8e98779%40googlegroups.com.

Reply via email to