-
Notifications
You must be signed in to change notification settings - Fork 938
Description
Hi everyone,
I'm not entirely sure if this is the right place to ask, but lately, I've been working with a database called SurrealDB. After a month of using it, I decided to build my own ORM for my use case, which I did in TypeScript. It worked great, but as my projects have started to include Python, JavaScript/TypeScript, and Rust, I realized that writing the same ORM for each language is becoming a real pain.
That’s why I decided to explore WASM (WebAssembly) as a potential solution. However, I’m feeling a bit overwhelmed. I’m not sure where to start, or even if it’s possible to achieve what I have in mind. My plan is to build an ORM that includes a custom language for defining schemas and events, somewhat similar to Prisma. So, I’m wondering:
- Is it possible to build a cross-language ORM using WASM?
- How would I go about getting started with this kind of project?
- Are there specific challenges or things I should be aware of when implementing this?
Any advice or guidance would be greatly appreciated!