2 ms·
That's not really feasible for languages that are fully bootstrapped, where the GC is written in the language itself. But even if you throw in the towel on tha
by duped 5y ago
That's not really feasible for languages that are fully bootstrapped, where the GC is written in the language itself.
But even if you throw in the towel on that idea, GC isn't one-size-fits-all. If you built a GC that was so tunable that it covered all use cases and profiles then it would probably be as complex to tune as it would be to write your own.
And that said, there is already GC provided by the kernel. We just call that "manual memory management" and wrapping it efficiently for automatic usage is the process of designing a GC for your language runtime.