With AI workloads on the rise, the demand for Python support on WebAssembly on the Edge has grown rapidly.
However, bringing Python to WebAssembly isn't trivial as it means supporting native modules like numpy , pandas , and pydantic . While projects like pyodide made strides in running Python in the browser via WebAssembly, their trade-offs don't fully fit server-side needs.
After months of hard work, today we're thrilled to announce full Python support in Wasmer Edge (Beta) powered by WebAssembly and WASIX.
Now you can run FastAPI, Streamlit, Django, LangChain, and more directly on Wasmer and Wasmer Edge! To accomplish it we had to:
Add support for dynamic linking ( dlopen / dlsym ) into WASIX
( / ) into WASIX Add libffi support (so Python libraries using ctypes could be supported)
support (so Python libraries using could be supported) Polish Sockets and threading support in WASIX
support in WASIX Release our own Python Package Index with many of the most popular Python Native libraries compiled to WASIX
compiled to WASIX Create our own alternative to Heroku Buildpacks / Nixpacks / Railpack / Devbox to automatically detect a project type from its source code and deploy it (including running with Wasmer or deploying to Wasmer Edge!). Updates will be shared soon!
How fast is it?
... continue reading