Re:Writing a Simple Garbage Collector in C (2020)
by ritcgab on Saturday April 08, 2023 @04:37PM
(#35497366)
Manual malloc() + free() is the way. The language design makes it hard (if not impossible) to generate compilation-time GC routine. Runtime GC will be another thing, and you probably will lose raw pointer access, because we need some higher-level struct wrapping around the raw pointer to feed more information to the garbage collector.
[ Parent
| on HN ]
There are no comments on this comment yet.