Juniper Tyree
Juniper Tyree
I found a very hacky way to implement lazy loading of dynlibs. It's basically registering a mapping from dynlib name to path when we'd preload them right now (also recording...
I like the idea of exposing the import hook - that way Pyodide can care about implementing it and a lot of other projects will just activate it in their...
Should the import hook be conditionally exposed based on if JSPI is available, or always exposed but be a no-op if it’s not? Either way, I’d be happy to open...
@ogrisel Thanks for the report! I just tried it in Chrome on Windows and it ran successfully. In my Chrome I have experimental JSPI enabled, which takes a slightly different...
> However, it's still easy to trigger the chrome "Aw, Snap!" crash by opening 2 or 3 concurrent notebooks in the same jupyterlite browser tab and running: > > import...
> I don't believe this idea about it being an address space limitation because there's only one webassembly memory shared by all dynamic libraries so you only need 4gb of...
Thanks @ogrisel for providing an example - I can reproduce the issue. This one seems to be independent of JSPI but was introduced by the lazy loading of shared libs...
Thanks @agriyakhetarpal so much for your insights! I'm currently on scipy 1.14.1 and jupyterlite-pyodide-kernel 0.5.2, but with my custom Pyodide version based on a 0.27 pre-release just after your matplotlib...
@agriyakhetarpal I tried out your suggested patch in https://github.com/climet-eu/pyodide/commit/5b7f4e7d8e6b28ad82c2644f6f9829ab640b10fa but unfortunately the same crash still persists on https://lab.climet.eu/main
@oscarbenjamin I'm unfortunately unsure what I'm doing wrong here