Hood Chatham
Hood Chatham
> `emscripten_3_1_9` Well that looks like the wheel was built with the wrong version of Emscripten -- should be `3_1_14` I believe. I improved that error message on main. It...
> which apparently proabably never can be in pyodide) This is not quite true. The `quickstart` requests API should not be too hard to shim with synclink or something similar....
In the best cases the recipe produced by `pyodide_build` works out of the box. More often than not some tweaking is needed but we have some C extensions with trivial...
> v8 cannot load any wasm library with a size >32KiB Of course you mean it refuses to **synchronously** load large wasm libraries. > `--use-preload-plugins` somewhere in assets packaging I...
See here: https://github.com/pyodide/pyodide/blob/main/src/js/load-package.ts#L227
I'm a bit confused about what the filesystem has to do with it? I'm not doing anything crazy like hooking `fopen`. Emscripten has the function `loadWebAssemblyModule` which loads a Wasm...
Don't use `FS.createPreloadedFile`, use `Module.loadWebAssemblyModule`.
Right okay, so the point is that Emscripten's `dlopen` looks in `Module.preloadedWasm` for the compiled wasm and if it finds it there it doesn't do any filesystem operations. So what...
> not in Module but in window Really you should be building with `-s MODULARIZE=1` and then you will find these in `Module`. Not ideal to allow the huge number...
Workers are great, should always be used in production since otherwise Python will block the UI. The debugging experience is worse though. Workers work correctly with both dynamic linking and...