Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The boehm GC is the most conservative one. And very slow.



Slow in the same way that the conservative stack scanning was bound to leak. I did actually run Emacs with it after experience elsewhere.

Edit: I wonder how Boehm is somehow "most conservative", compared with, say, the Memory Pool System which I'd also look at these days but wasn't an option then.


The MPS wasn't 'conservative' in any way IIRC, it was precise? Are we talking different terminologies perhaps?

https://en.wikipedia.org/wiki/Boehm_garbage_collector

https://en.wikipedia.org/wiki/Tracing_garbage_collection#Pre...


Why argue with the people who actually produce the collectors?

"GC uncooperative programs using conservative collection" https://www.ravenbrook.com/project/mps/

I think it's a Bartlett-style "mostly-copying" collector, as in Scheme->C, but you can read the code and documentation.


I think it's an option, but I admit not one I was aware of. AFAIK the MP is a framework, and this is an option not the only way... but still, you're again!

I'll do some reading, thanks.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: