You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 15, 2025. It is now read-only.
RustPython can be compiled into a WebAssembly WASI module, this would mean Prisma Client Python would be runnable in the browser!
I do not know how this would work together with the Prisma binaries we use so it might only be possible with the Data Proxy or using the native rust bindings, neither of which are implemented yet.
Blockers
Some of our dependencies/transitive dependencies do not publish wheels to PyPi, they instead publish the source distribution which means the library has to be built at install time. This appears to not be possible with RustPython yet as ctypes have not been implemented yet. RustPython/RustPython#2364
Problem
https://github.com/RustPython/RustPython is a Python 3.9 interpreter written in rust.
RustPython can be compiled into a WebAssembly WASI module, this would mean Prisma Client Python would be runnable in the browser!
I do not know how this would work together with the Prisma binaries we use so it might only be possible with the Data Proxy or using the native rust bindings, neither of which are implemented yet.
Blockers
Some of our dependencies/transitive dependencies do not publish wheels to PyPi, they instead publish the source distribution which means the library has to be built at install time. This appears to not be possible with RustPython yet as ctypes have not been implemented yet. RustPython/RustPython#2364