4 ms·
> First, we knew we wanted to extend Encore to more languages over time, and we'd seen projects like Prisma and Pydantic successfully use a Rust core with bindi
by waterTanuki 6mo ago
> First, we knew we wanted to extend Encore to more languages over time, and we'd seen projects like Prisma and Pydantic successfully use a Rust core with bindings into Node.js and Python respectively.
On an unrelated note Prisma decided to rewrite their Rust core in Typescript.
https://www.prisma.io/blog/from-rust-to-typescript-a-new-chapter-for-prisma-orm https://www.prisma.io/blog/from-rust-to-typescript-a-new-cha...
- pjmlp 6mo agoBecause in real life deployments, outside of winning benchmarking charts, a JIT is fast enough, and the burden of multiple languages cake layer isn't worth the trouble. Thanks for sharing the link.
- re-thc 6mo ago> outside of winning benchmarking charts Prisma didn’t win the benchmark charts either.
- pjmlp 6mo agoYes, and? That was the point, delivering business value within a specific set of KPIs makes more sense than winning benchmarks, if the outcome remains the same.
- re-thc 6mo ago> That was the point Of what? Doing Rust? Prisma Rust failed to win the benchmarks. Prisma Typescript also fails to win the benchmarks. > if the outcome remains the same Then don't drive a car. You can walk. The outcome is the same.