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

Server mode #437

Open
pitag-ha opened this issue Jun 26, 2023 · 0 comments
Open

Server mode #437

pitag-ha opened this issue Jun 26, 2023 · 0 comments

Comments

@pitag-ha
Copy link
Member

A server mode for the driver would be quite useful for tools such as Merlin or Dune to improve performance in the interaction with the PPX driver on a systems level. The main advantages would be:

  • Avoid spawning a new process for every PPX invocation.
  • No need to pass the ASTs via disk anymore.
  • Simple cancelability.

A few things to keep in mind if we implement this:

  • There are some PPXs relying on global state. So we'll need to make sure we clear the state between two server invocations.
  • Implement this in a Merlin-backward-compatible way.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant