Re:Boehm-Demers-Weiser conservative C/C++ Garbage Collector
by iainctduncan on Sunday January 21, 2024 @11:41AM
(#39080034)
Hi, I'm just starting a (long) PhD in computer music languages, and one of my hoped-for projects is improving the GC for the Scheme implementation I work in for soft realtime use. If you (or anyone else) wouldn't mind sharing suggestion on resources for learning about low-latency modern GCs, it would be most appreciated. :-)
[ Parent
| on HN ]
Re:Boehm-Demers-Weiser conservative C/C++ Garbage Collector
by moonchild on Sunday January 21, 2024 @05:21PM
(#39083686)
read the garbage collection handbook - https://gchandbook.org/
Re:Boehm-Demers-Weiser conservative C/C++ Garbage Collector
by iainctduncan on Sunday January 21, 2024 @06:57PM
(#39084376)
thanks, that's good to know. I'm working through his first GC book right now and plan to order the new edition of the gchandbook when I'm done the other (which I read was a gentler intro to the topic).
iain
Re:Boehm-Demers-Weiser conservative C/C++ Garbage Collector
by pebal on Monday January 22, 2024 @05:04AM
(#39087959)
You can look at the SGCL garbage collector for C++: https://github.com/pebal/sgcl. It works in a separate thread, is locks-free and never stops the world.
Re:Boehm-Demers-Weiser conservative C/C++ Garbage Collector
by iainctduncan on Monday January 22, 2024 @01:08PM
(#39092982)
great, thanks!