sagemathinc / cowasm

CoWasm: Collaborative WebAssembly for Servers and Browsers. Built using Zig. Supports Python with extension modules, including numpy.

Home Page:https://cowasm.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could Cowasm run inside a Stackblitz-webcontainer?

martin12333 opened this issue · comments

If I understand correctly, Cowasm , when being run from nodejs, is Js+wasm, no native-code files, that's important.

// I plan to study and do experiments

( https://github.com/stackblitz/webcontainer-core )

is Js+wasm, no native-code files, that's important.

It optionally uses a module called posix-node which I also wrote (in Zig) to expose a lot of extra posix functionality, e.g., the networking stack (which is used by python so far). https://www.npmjs.com/package/posix-node

However, if posix-node isn't available, then cowasm will still run from nodejs, and I think there are no other native code dependencies.