4 ms·
Hey! Dev here :) For external libraries, it requires you to mount the libraries with WASI when running the python.wasm module. Another option we're exploring i
by angelmm 4y ago
Hey! Dev here :)
For external libraries, it requires you to mount the libraries with WASI when running the python.wasm module. Another option we're exploring is to use wasi-vfs[1] to include some common modules in our pre-built binaries. For example, Ruby does require some extra libraries for common workloads (like JSON parsing). This is still on the exploration phase, but we may do something with it.
[1] https://github.com/kateinoigakukun/wasi-vfs https://github.com/kateinoigakukun/wasi-vfs
- robertlagrant 4y agoVery cool. We ship some Python as a Debian dependency and so this could become a really interesting way to package everything up.