Thanks, I will give it a try! David
On Tuesday, September 5, 2017 at 4:57:43 PM UTC-7, Alon Zakai wrote: > > To some extent yes. We have working dlopen() support, see > > https://github.com/kripken/emscripten/wiki/Linking > > However, it is not optimized yet, it uses a bunch of hacks. As a result > getting this working takes a bit more effort (see details on that page), > and it has more size and speed overhead than it should. This will be fixed > eventually with proper dynamic linking of wasm. > > On Tue, Sep 5, 2017 at 2:54 PM, <dtipp...@gmail.com <javascript:>> wrote: > >> Hi, >> >> My situation is this: >> >> I am dealing with a fairly large codebase and trying to make WebAssembly >> builds as small as possible to speed up loading times. (especially a >> problem on mobile) There are certain libraries that are rarely used and >> contribute a significant portion of the total size so my thought was to >> load these libraries only when their functions are first used. >> >> Given the above I was wondering if it is currently possible to >> dynamically and synchronously download wasm and load it using dlopen or >> equivalent on current browsers? This would be running in a worker so any >> synchronous wait would not cause the UI to hang. >> >> Thanks, >> >> David >> > > -- 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 emscripten-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.