I've been reading this, but there seems to be no tutorial/doc about the difference between these two or whatnot.
Is socket repl going to replace nrepl?
I've been reading this, but there seems to be no tutorial/doc about the difference between these two or whatnot.
Is socket repl going to replace nrepl?
At least not now. clojure.core.server/repl
is just a plain old REPL that listens on socket, and spits output through socket as well. I'd rather think this socket repl as a nice and small fix to add REPL over network functionality without (much) code change.
nREPL, on the other hand, has been out for long. It provides way more functionalities, among which middleware is the most prominent one. nREPL enables editors and IDEs to interactively communicate with the JVM, enriching the experience when using the basic REPL.
tldr;
Long version:
© 2022 - 2024 — McMap. All rights reserved.