Hood Chatham

Results 1082 comments of Hood Chatham

Or perhaps tar is the best format and you can allow the server / browser to manage compression / decompression.

I'm going to close this issue as completed for now since most of the things discussed here are either done or not planned. We should open new issues for any...

Okay I updated this to handle numpy, added more detailed comments and internal tests.

Okay, now there is a problem that rust uses randomness for hash seeds: https://github.com/rust-lang/rust/blob/master/library/std/src/sys/pal/unix/rand.rs#L235-L247 https://github.com/rust-lang/rust/blob/master/library/std/src/hash/random.rs?plain=1#L68

> given there's been some time I wonder if you can share some thoughts on how relevant you think these ideas still are Well they are still relevant but the...

@kentonv This makes sense, are there other development-only features that I could look at for inspiration?

> is there a possibility to reuse the DiskCache to store snapshots as well? Yeah, this would make a lot of sense.

Well `node_resolvePath` should return `path` unchanged if it contains `://`. But then there's a problem with `__dirname`.

The problem is here: https://github.com/emscripten-core/emscripten/blob/main/src/shell.js?plain=1#L223 If I fix that, it successfully fetches `pyodide.asm.js` but fails to run it with `nodeVmMod.runInThisContext` with the error: ``` A dynamic import callback was not...

Using ```js nodeVmMod.runInThisContext(result, {async importModuleDynamically(specifier) { return await import(specifier);}}) ``` fixes that error. But now: ```js Aborted(TypeError: Cannot read properties of undefined (reading 'normalize')) ```