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

You don’t even need a compiler for this. https://en.m.wikipedia.org/wiki/Boehm_garbage_collector


I know about that one but can I compile mysql, httpd and all its dependencies with it enabled? I don't care if it is 100x slow.


sure. free() just becomes a noop. But probably they'll leak a bunch because conservative gc is kinda bad, doubly so in code that isn't made for it.

(it's really a little more complicated than that in codebases, like mysql, that probably manage their own allocation and actually care about page level stuff)




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

Search: