Chicken Scheme internals: the garbage collector (2014)
more-magic.net
more-magic.net
No doubt Chicken is a great language with cool features, it's just not very beginner friendly.
For other cases, please consider letting us know exactly where you got stuck on IRC or on the mailinglist. Without feedback we can't fix things! The community is very friendly to beginners, even if the documentation isn't.
Unfortunately, the pipeline.com links no longer work, and I haven’t been able to coax the Wayback Machine into giving me more than the first page of the Cheney on the MTA paper.
https://web.archive.org/web/20170811235424/http://home.pipel...
That site was one of the better collections of lisp technical papers. I hope it's not gone for good, it was there earlier this year.
1. Transform into continuation-passing style.
2. Use the C stack as the young generation by calling each continuation as an ordinary C function.
3. When the stack reaches a limit, copy all reachable objects to the heap, "free" the young gen via longjmp() back to the bottom of the stack, and continue on.