Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.
This repository was archived by the owner on Apr 15, 2025. It is now read-only.

Add support for RustPython #89

@RobertCraigie

Description

@RobertCraigie

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions