Jeremy Maitin-Shepard

Results 479 comments of Jeremy Maitin-Shepard

Overall I didn't put in a lot of effort to make the implementation robust, because I was just trying to create a proof-of-concept and I expect all or most of...

> One place I've been wanting a split wasm is in an Audio Worklet. It gets its own special thread that doesn't have everything (no TextEncoder/Decoder). Will this code help...

Yeah previously the prototype did not properly handle references to imported functions from split modules. I just pushed out a fix for that.

@daxpedda Would you be open to a PR that integrates module splitting into wasm-bindgen?

> ETA: Thinking out loud; It would be very useful to have a way to output a manifest of all the WASM bundles per split. You can see one waterfall...

I pushed a change to fetch and instantiate the common chunks concurrently.

Thanks for your response @daxpedda. If it is a separate tool that gets integrated into wasm-pack, then we have the following situation: - Like wasm-bindgen, there will be the library...

> @jbms First off, kudos on this work! It's amazing to see this is possible. > > I work with @gbj on Leptos, and am working on rebuilding our build...

> I'm not sure why, but libclang (v18.1.1) on macos is failing to parse the cpp.apigen demo sources. It seems related to [sighingnow/libclang#71](https://github.com/sighingnow/libclang/issues/71) > > I don't have a mac...

This is a pretty serious issue --- it basically means that any use of Bazel with strip_include_prefix is very fragile on Windows and can easily be broken by minor changes...