Well, yes, with a GC when your heap is full, you make space by getting rid of the garbage.
Also, with a good GC, allocating is most of the time just bumping a pointer, exactly like an arena, and the collection time is proportional to the number of live objects, which when triggered out of band is basically 0.
Hence why I think a well tuned GC really isn't that far off.
Well, yes, with a GC when your heap is full, you make space by getting rid of the garbage.
Also, with a good GC, allocating is most of the time just bumping a pointer, exactly like an arena, and the collection time is proportional to the number of live objects, which when triggered out of band is basically 0.
Hence why I think a well tuned GC really isn't that far off.