Published: September 12, 2025
105
79
1.4k

šŸš€ 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...

Image in tweet by Prisma Postgres

@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?

@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...

Image in tweet by Prisma Postgres

@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...

Image in tweet by Prisma Postgres

@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 šŸ¤

Share this thread

Read on Twitter

View original thread

Navigate thread

1/28