Moving from rust to typescript

Hello. Can you tell me whether the engine code that generates psl and dml is remaining in Rust. I see that it is now compiled to WASM . Will these sources eventually end up in Typescript or remain in WASM? Just trying to understand the direction things are going.
3 Replies
Prisma AI Help
You're in no rush, so we'll let a dev step in. Enjoy your coffee, or drop into #ask-ai if you get antsy for a second opinion!
Nurul
Nurul3w ago
The engine code for PSL and DML is currently still in Rust (compiled to WASM for some use cases), but the direction is to eventually move this logic to TypeScript.
scriptjs
scriptjsOP3w ago
I am wondering if there can be continued support for Rust here or a community project to retain Rust compatibility. I want to be able to consume it in Rust in the future. To be clear the focus of the development on the TypeScript side seems to be discussion around the query engine, while my questions are more around the schema engine and whether that will remain in rust.

Did you find this page helpful?