Yeah, state of the art GC, but SBCL and ECL run circles on performance compared to any Java turd, even if being AOT compiled with GRAAL.
Just compare the Nyxt web browser with any Java monster out there.
Re:How to Understand and Use Common Lisp
by hayley-patton on Sunday May 14, 2023 @08:35AM
(#35937504)
Do they? I had to help SBCL with bounds checks (read: disable them) when porting the Java NonBlockingHashMap to Common Lisp. Perhaps still too micro- a benchmark, and I've indeed made turds with Spring, but the rest of HotSpot would do wonders on non-turd programs. (Would also expect Graal with JIT to be faster than AOT after warmup, but no experience there.)
Look at this real-time garbage collector for C++: https://github.com/pebal/sgcl
Re:How to Understand and Use Common Lisp
by hayley-patton on Monday May 15, 2023 @02:27AM
(#35944493)
Is there any documentation on the algorithm used?
The Mark and Sweep algorithm with tri-color marking variation was used. There is no documentation yet, but I am happy to answer your questions ([email protected]).
I'm working on a better, parallel but still far from Java state-of-the-art GC for SBCL <https://zenodo.org/record/7816398> - which presumably is some skin in the game.