Comment

Comment by MaxBarraclough

Very impressive.

> SectorLISP uses what we call an ABC garbage collector and it took only 40 bytes of assembly.

> [...]

> Fast immediate garbage collection with zero memory overhead and perfect heap defragmentation is as easy as ABC when your language guarantees data structures are acyclic.

Neat, but my understanding was that even pure functional languages can't generally make this guarantee, because things like letrec complicate matters. If SectorLISP can take this approach, why doesn't Haskell? (Or does it?)

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton