Fork me on GitHub
#releases
<
2024-06-10
>
bozhidar16:06:14

nREPL 1.2 is out with a faster bencode implementation and JVMTI agent that restores the ability to interrupt evaluations under Java 20+. More details https://github.com/nrepl/nrepl/releases/tag/v1.2.0 Enjoy! Kudos to @alexyakushev for working on those important improvements! You rock! :the_horns:

🎉 5
💯 2
borkdude18:06:08

faster bencode implementation: this isn't reflected in the nrepl/bencode library?

bozhidar18:06:25

Not yet. We were testing the new implementation with CIDER for a couple of weeks, but now that it’s clear it works fine we can also update nrepl/bencode.

borkdude18:06:51

interesting order ;)

bozhidar18:06:20

nREPL doesn’t use the library directly, that’s why often changes happen first in nREPL and then in the library.

borkdude18:06:23

was bencode (de)serialization ever a bottleneck in CIDER? I can imagine that evaluation takes on the whole like 99% of the time of a request/response?

bozhidar18:06:40

Not really, but Elisp is pretty slow, so the bottleneck would always be on the Emacs side if there’s one. Still, some clients might benefit from this and arguably the codebase is now leaner as well, which is always a good thing.

bozhidar19:06:35

You can check the changes here https://github.com/nrepl/nrepl/pull/323

🙏 1
bozhidar16:06:00

In related news - CIDER 1.15 ("Cogne") is also out! It makes use of nREPL 1.2 and bundles a few improvements to the inspector and flex completion. Check the release notes for more details https://github.com/clojure-emacs/cider/releases/tag/v1.15.0 Cheers! cider

cider 13
🥳 1