Fun read! If anyone is interested in more, I believe Andy Wingo has written about the implementation of delimited continuations in guile scheme over at https://wingolog.org
After publishing that I actually emailed him about it. I wanted to show him how I solved the interleaving stacks problem he outlined in that article. No idea if he ever saw the email but his about page does mention the fact email has very variable latency.
I love his blog. I think I've read almost the entirety of it. Here's his article about delimited continuations:
https://www.wingolog.org/archives/2010/02/26/guile-and-delim...
I even cited it in my own delimited continuations article:
https://www.matheusmoreira.com/articles/delimited-continuati...
After publishing that I actually emailed him about it. I wanted to show him how I solved the interleaving stacks problem he outlined in that article. No idea if he ever saw the email but his about page does mention the fact email has very variable latency.