snek

Results 464 comments of snek

> Drop child_process (Replace with inspector) why? using `child_process` is very intentional, it allows the interface to recover from bad logic that blocks evaluation.

i think if the goal is to expose a generic ts api, then something from npm should be used. if the goal is to expose "handle ts modules the way...

that sentence is referring to running a single genserver process per guild. you can find some more details here: https://discord.com/blog/maxjourney-pushing-discords-limits-with-a-million-plus-online-users-in-a-single-server

this isn't just a start function problem. if you declare a function in js or wasm, and wasm imports it (esm), that function has no way to get access to...

the start function is specified to run at normal evaluation time in the esm proposal. additionally, exporting something explicit doesn't work for esm at all because nothing is there to...

@rossberg > Why would importing a custom initialisation function and explicitly invoking it after linking not work? are you suggesting something like this? ```js let id = 0; const memories...

@lukewagner its not possible to get access to any of the memory using esm, whether or not its the 0th one. i'm using wasi as a motivating example, but the...

@lukewagner if I export a function intended to be consumed by wasm (from wasm or js), how does that function access the memory of the calling wasm?

@lukewagner the file with the function doesn't know which wasm module is consuming it, it's not a thing esm provides. (it also doesn't know the name of the exported memory,...