You can do that using dynamic linking,

https://emscripten.org/docs/compiling/Dynamic-Linking.html

See examples in the test suite (search for MAIN_MODULE and SIDE_MODULE).

On Tuesday, December 14, 2021 at 8:28:21 AM UTC-8 [email protected] wrote:

> Hello,
> is it possible to do dynamic loading of plugins with emscripten? Now my 
> plugins written with c ++ and qt are dynamically loaded, if possible I 
> would like to do something similar with emscripten.
>

-- 
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/bac80447-f5da-4190-8789-b3bb4c176515n%40googlegroups.com.

Reply via email to