31 ms·
You don’t even need a compiler for this. https://en.m.wikipedia.org/wiki/Boehm_garbage_collector https://en.m.wikipedia.org/wiki/Boehm_garbage_collector
by mynegation 7y ago
You don’t even need a compiler for this. https://en.m.wikipedia.org/wiki/Boehm_garbage_collector https://en.m.wikipedia.org/wiki/Boehm_garbage_collector
- foobar_ 7y agoI 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.
- stormbrew 7y agosure. 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)