News for hackers. Stuff that matters.
Re:Crunch – a Scheme compiler with a minimal runtime by sctb on Tuesday December 17, 2024 @11:10AM (#42442527)
> Since C doesn't support continuations, it is not possible to have continuations and at the same time generate "natural" C code.

Since CHICKEN actually does this, I'll add the proviso of "without a GC or costly runtime".

Re:Crunch – a Scheme compiler with a minimal runtime by soegaard on Tuesday December 17, 2024 @12:28PM (#42443252)
I would call the code CHICKEN generates for "direct style" not "natural". (I know - it is a cop-out to use "natural" in quotes)

Regardless of what we call the style, it isn't simple any more.

For people interested in the internals of Chicken Scheme (I suspect sctb already knows):

https://www.more-magic.net/posts/internals-gc.html