Top
Best
New

Posted by pizlonator 9/5/2025

Fil's Unbelievable Garbage Collector(fil-c.org)
598 points | 278 commentspage 3
discord9 9/5/2025|
This is very cool, also I wonder does fugc works without InvisiCap, what would it be like without the capability pointer, does it just became not accurate but still usable?
gwbas1c 9/5/2025||
I skimmed the article.

I'm curious about CPU / RAM overhead tradeoffs.

IE, in may cases GC is more CPU efficient than reference counting, but the tradeoff is higher RAM consumption.

program_whiz 7 days ago||
Can anyone explain how the roots are known to the GC, I can't spot it. Does it have some kind of precompile step to mark roots for GC scan?

@pizlonator ?

celeritascelery 7 days ago|
It is having LLVM insert instructions to fill out the stack map
achierius 7 days ago||
Why did you choose to use an advancing wavefront rather than retreating wavefront strategy?
loa_in_ 9/5/2025||
I'm amazed by how readable the source is, the names meaningful and not filled with jargon.
classified 9/5/2025||
The description left me confused. Is this something that has to be integrated into the compiler?
jitl 9/5/2025|
It’s an implementation of a very C compatible language called FilC. A fork of LLVM to add the Pizlonator compiler pass combined with runtime support stuff.
VagabundoP 9/5/2025||
Related, this is the Python garbage collector episode:

https://www.podscan.fm/podcasts/corepy/episodes/episode-21-a...

I found it very interesting.

gok 9/5/2025||
How hard would it be to add generational collection?
gaanbal 9/5/2025||
wow, this is really fugcing cool
reactordev 9/5/2025|
Oh this is so cool
More comments...