45 points · by ThatGeoGuy · 10y ago · 17 comments
It would require major changes to the CHICKEN runtime to support native threads, but Cyclone does map out a potential solution.
Good news!
>It would require major changes to the CHICKEN runtime to support native threads, but Cyclone does map out a potential solution
Oh well. Well, at least there is hope.
About five minutes of my life died to bring you this information.
The thing about pop culture is that firstly it dates really badly, and second is that it doesn't work across cultures. I'd never heard of the song before now..
https://en.wikipedia.org/wiki/Cyclone_(programming_language)
This might help with continuations: https://en.wikipedia.org/wiki/Continuation
Here is a really simple example of simulating a C return using call/cc:
(display
(call/cc
(lambda (return)
(display "hello ")
(return "world")
(display "never reached"))))If you just want the simple explanation: A continuation is a copy of the return stack at the instant it was captured. When a continuation is invoked, that copy replaces the stack.