Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve NodeJS <> Rust language binding #767

Closed
sorenbs opened this issue Oct 16, 2019 · 2 comments
Closed

Improve NodeJS <> Rust language binding #767

sorenbs opened this issue Oct 16, 2019 · 2 comments
Labels
domain/client Issue in the "Client" domain: Prisma Client, Prisma Studio etc. kind/improvement An improvement to existing feature and code. topic: binary

Comments

@sorenbs
Copy link
Member

sorenbs commented Oct 16, 2019

Prisma Client is a JavaScript library that calls out to the query engine, which is a Rust binary.

Currently the interface between the two is http on a local port. Moving to FFI might provide benefits such as

  • lower latency / less memory consumption
  • a simpler model
  • better maintainability

This could be implemented using the Neon Bindings project.

internal reference: project

@janpio janpio added the kind/improvement An improvement to existing feature and code. label Oct 16, 2019
@schickling schickling changed the title Improve NodeJS language binding Improve NodeJS <> Rust language binding Oct 17, 2019
@timsuchanek
Copy link
Contributor

The progress in Neon Bindings to make this possible is being tracked in this issue: neon-bindings/neon#444

@matthewmueller matthewmueller added the domain/client Issue in the "Client" domain: Prisma Client, Prisma Studio etc. label Jan 14, 2021
@janpio
Copy link
Member

janpio commented May 29, 2021

This is happening via #6301

@janpio janpio closed this as completed May 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain/client Issue in the "Client" domain: Prisma Client, Prisma Studio etc. kind/improvement An improvement to existing feature and code. topic: binary
Projects
None yet
Development

No branches or pull requests

4 participants