Speeding Up the Plush Garbage Collector

A developer discusses the challenges of optimizing a custom garbage collector for a toy programming language called Plush. The author details their attempt to achieve sub-20ms collection times for one million objects to support high-performance game engine development.
Why it matters
Understanding garbage collection bottlenecks is critical for developers building low-latency systems and custom virtual machines.
Those who have been reading this blog or following me on X know that I tend to jump between side-projects. A while back, I made a conscious decision to allow myself to follow my motivation and explore new ideas, because I think it's important for side-projects to feel fun, and never become a chore. That being said, every once in a while I find myself thinking about a project that I set aside a while back, and how I could push it further.
Get smarter about the news
Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.
Create free accountAlready have an account? Sign in