š After eight months of hard work, we removed the Rust engine binaries from Prisma ORM! Here's why: š Reduced bundle size by ~90% ā”ļø Faster queries (on avg ~3.48x faster in our benchmark) š¾ Lower CPU footprint š” Less deployment complexity š¤ Easier open-source contributions
š” The Rust-free Prisma ORM is ready for production as of v6.16.0. You can enable it by: ā setting the `engineType` option on the `generator` block ā installing the driver adapter for your database š Learn more in the docs: https://pris.ly/no-rust-engine...
@prisma Drop mongo next
@alexdotjs But why? š¤
@prisma Hmmm I'm a bit out of date with the details of the project - what's happening with 3.5x faster queries by removing (replacing?) Rust binaries, how is JS doing the same thing faster than compiled code?
@jrysana More details here: https://www.prisma.io/blog/pri...
@prisma congrats guys, prisma is so much better now
@prisma I want to read a postmortem why rust was chosen in the first place and what turned out to be a false assumption.
@nicolaygerold We've written several times about it already š the screenshot sums it up but sharing all the other articles just for context! - https://www.prisma.io/blog/fro... - https://www.prisma.io/blog/rus... - https://www.prisma.io/blog/try...
@prisma Any plans to support schemas written in ts?
@ahudovich We're still huge fans of PSL! https://www.prisma.io/blog/pri...
@prisma š LFG this is HUGE!
@steventey š
@prisma What about mongodb guys?
@raykov_krasimir Still being cooked.
@prisma Congrats on the release!
@prisma color ball guy in shambles
@MaxRovensky š
@prisma amazing work, been looking forward to this! any chance this'll negate the need to use nextjs-monorepo-workaround-plugin? šš
@prisma can you help me convert to the engine? I followed the docs but this error is not going away :( https://github.com/AmanVarshne...
@amanvarshney01 Are you using Prisma Postgres. If so can you run "prisma generate" explicitly after running "prisma migrate dev" and seeing if the issue gets resolved?
@prisma Nice! Does this mean we can now run Prisma inside a WebContainer runtime? Previous versions didn't work because the Rust binary wasn't WASM compatible so everything failed on 'npm install' š
@aeksco Should be possible but it probably also depends on the DB driver you're using. What DB do you want to connect to?
@prisma I updated to the new ESM-first Rust-free engine, and everything worked flawlessly on first try! This also enabled us to remove a hack previously required Prisma to work on Vercel with a monorepo.
@DannyNemer š¤



