Re:WebAssembly: Adding Python Support to WASM Language Runtimes
by robertlagrant on Tuesday January 31, 2023 @03:24PM
(#34601398)
Very cool. We ship some Python as a Debian dependency and so this could become a really interesting way to package everything up.
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