News for hackers. Stuff that matters.
Re:A Performance Comparison of Modern Garbage Collectors (20... by rurban on Wednesday October 30, 2024 @03:14AM (#41992512)
Also JVM only. Some best GC's are elsewhere, in Lisp eg
Re:A Performance Comparison of Modern Garbage Collectors (20... by guenthert on Wednesday October 30, 2024 @05:55AM (#41993319)
That needs further elaboration, also in which way they would be better or best? While they might be fundamentally different (JVM will use only conservative GC, while Lisp runtime support allows and might favor precise GC), I for one would be very surprised if collectors with the highest throughput or least latency are found in a runtime support system for a programming language used by academia thirty years ago, rather than in one used by profit-oriented organizations for large data systems or games.

And while, e.g. SBCL is used commercially (google flights comes to mind), its GC isn't its forte.

Re:A Performance Comparison of Modern Garbage Collectors (20... by tmtvl on Wednesday October 30, 2024 @07:43AM (#41993850)
There's Cyclone Scheme, though I don't know how good its GC is in practice: https://justinethier.github.io/cyclone/

Also I would expect a programming language used by enterprise to do fewer experiments with the GC than a language worked on in academia.

Re:A Performance Comparison of Modern Garbage Collectors (20... by TurboHaskal on Wednesday October 30, 2024 @06:33AM (#41993484)
He probably means Allegro CL which is in my experience the best one.

All the OS Lisp GCs are stuck in the 80s and honestly not very good. The one in LispWorks is pretty good though but I wouldn’t call it state of the art. It just works.

Re:A Performance Comparison of Modern Garbage Collectors (20... by fm2606 on Wednesday October 30, 2024 @08:44AM (#41994218)
How does one go about testing how good a GC is or isn't?

I'm most interested in SBCL and JVM.

Re:A Performance Comparison of Modern Garbage Collectors (20... by rurban on Wednesday October 30, 2024 @03:35PM (#41999267)
I would call the LispWorks GC also superb, and it's even open source!
Re:A Performance Comparison of Modern Garbage Collectors (20... by lispm on Thursday October 31, 2024 @04:09AM (#42004472)
> for a programming language used by academia thirty years ago, rather than in one used by profit-oriented organizations for large data systems or games.

I think that's a misconception. Common Lisp was designed as a language for Research & Development (R&D) and deployment of (often complex) applications on a wide variety of hardware.

There were/are a bunch of demanding applications developed, which were/are in commercial use:

* scheduling systems used by train services, airports and airlines

* image processing applications (like analysis of satellite images)

* CAD systems for aircrafts and cars (prominent users were Boeing, Airbus, Ford, ...).

* verification of cpu designs

* databases, typically object-oriented and graph databases

Typically GC needed to work in interactive systems with very little user interruptions and in long running applications which large data sets.

Generally Lisp has less new commercial users than years ago and Java has many times more commercial users. There has been done a lot of GC progress in the context of JVM garbage-collectors. But it's not that commercial Lisp vendors had no commercial users...

Franz Inc, a commercial Common Lisp vendor, has documented its GC:

https://franz.com/support/documentation/gc.html