I don't really know where to get an answer for thi...
# orm-help
s
I don't really know where to get an answer for this, but this seemed like a good place for it. Prisma is now written in Rust, but why aren't there any bindings for Rust? There are certain use cases where I would like to leverage Rust but am forced to do a workaround instead, there's Go bindings, but the languages it's built-in, doesn't. Seems odd.
j
where would you use Prisma for Rust? I've been writing Rust for quite a long time, and the problems we usually solve with Rust don't need an ORM that often
I mean, if there is an audience that would build things with a Rust ORM, we might implement an official API
s
Well, currently there's only Diesel which just pales in comparison to Prisma in functionality, I would like to offload more CPU intensive tasks be it images, large datasets and the like to Rust it would be nice to have Prisma which I use in other parts of the stack mostly for consistency reasons but I prefer using Prisma as-well there's also commence reasons which rely on consistent, safe & idempotent responses which Rust would give.
In short, I really like Prisma and Rust and would like to use both.
j
it might happen, but not in the near future
we have plans for more languages, first ones are typescript and go, after that it's not decided
I think the market is still not there, many rust users for the projects what they're doing right now (me included) are hand-writing their SQL and optimizing every bit of the program, this will definitely change at some point, but right now I think it's still a bit early
s
Fair enough, I'll probably use Go, but it's for sure the second-best option in my view I do like using a unified solution when possible.
j
it will come, I still think Rust is not there for this kind of batteries-included web apps, we use it due to it being so easy to marry with different languages
it's nice when you only have one garbage collector, e.g. one in TS and Rust is manual memory management