turtletontine
3 months ago
Wow… this is an excellent article. I’ve always been fascinated by GCs (well, as long as I’ve known what they are), and I just love seeing this kind of technical but accessible explanation of how they work, their bottlenecks, and a great new idea about solving those bottlenecks. This is exactly the kind of article that I hope to see every time I load up hacker news
karmakaze
3 months ago
If you haven't read about the CHICKEN lisp gc, ask your fave AI "How does the CHICKEN lisp Cheney on the M.T.A. garbage collector work?" It allocates heap objects on the stack and when out of stack, starts a new heap/stack copying live objects. Everything runs as continuations which is the reference to the song with similar lyrics. Since both stack and recent heap objects are contiguous it has great CPU cache use.
Cthulhu_
3 months ago
Why would you type out how to prompt an AI instead of just link to the source or an article?
karmakaze
3 months ago
Search doesn't work as well as it used to--I couldn't find the original article I had read. AI explanations are often better than random search results, but I don't really want to copy/paste.
shawn_w
3 months ago
This article?
turtletontine
3 months ago
Search definitely doesn’t work as well as it used to. Unfortunately “AI” slop is a big reason for that!
snypher
3 months ago
Save some energy, https://news.ycombinator.com/item?id=28401030