4 ms·
Your python code is executed by Apache? You mean like WSGI? Well either way, the bytecode alliance is working on things like fork/exec. > What would the Python
by kortex 3y ago
Your python code is executed by Apache? You mean like WSGI? Well either way, the bytecode alliance is working on things like fork/exec.
> What would the Python "requests" module do if it has no Linux kernel below it to pass the requests to a network stack?
Why does requests need a linux kernel? It's cross-platform. Strictly speaking it only needs the appropriate I/O calls. WASI provides a system interface to do I/O, network, files, etc.
https://wasi.dev/ https://wasi.dev/
https://github.com/WebAssembly/wasi-sockets https://github.com/WebAssembly/wasi-sockets