3 ms·
Even then you can have a GC. It just has to be conservative and non-compacting. Even C/C++ have a GC via boehm-gc, a LIBRARY that implements garbage collectio
by denim_chicken 11y ago
Even then you can have a GC. It just has to be conservative and non-compacting. Even C/C++ have a GC via boehm-gc, a LIBRARY that implements garbage collection!
(This is why I love C. No other practical language can claim to be able to implement a full-fledged GC as a library.)
- lomnakkus 11y ago> (This is why I love C. No other practical language can claim to be able to implement a full-fledged GC as a library.) Not to rain on anyone's parade, but I don't think many people think of a conservative & non-compacting GC as "fully fledged". (Don't get me wrong. It's probably useful, but y'know... let's call a spade a spade.)
- thinkpad20 11y agoI fat-fingered a down vote on this; just apologizing here. The perils of browsing HN comment threads on an iPhone...
- nickpsecurity 11y agoModula, Oberon, Ada... All have been used to implement GC's and OS's.