Sam Clegg

Results 1119 comments of Sam Clegg

What do you think about re-titling: "Support table initializer expressions; completes function references support"

> And then there's a handful of places where WebGPU object properties are directly accessed, like: > > ```js > device.limits[name]; > ``` > > ...needs to be changed into:...

In some cases we work around the "object evaluation + serialization removes quotes" issue by using `__postset`. See `ERRNO_CODES` : https://github.com/emscripten-core/emscripten/blob/4b33521f103c2fb4fb218b1e1c8637a4a96b8e74/src/library.js#L1255

Yes, I think the increase in closure warnings was just due to a change to not hide them by default. The issue with object literals as library elements is not...

Transferring this issue to the main spec repo since memory64 is being archived.

> @sbc100 there is a fuzzer issue in the code. The code is correct though. > > https://github.com/WebAssembly/wabt/blob/main/src/interp/binary-reader-interp.cc#L772 As for the fuzzer generated test, it wants to allocate 16190847 entries,...

Does the existing `emscripten_wget_...` API not satisfy your pusposes from the native code side? If you are you look for an API to use from JS, then I don't see...

True, I can see that exposing a native libcurl API, implemented in JS might be useful. I'm not sure much of the libcurl API surface is possible to implement without...

There is no direct emulation of libcurl in emscripten today, and no plans to add it. If anyone wanted to contribute a libcurl port to `ports/contrib` that would be most...

Sadly its not possible today to use the JS glue code generated for one Wasm file with another. The JS has a lot of baked in assumptions about the specific...