Re:Coroutines for Go
by Jtsummers on Monday July 17, 2023 @08:42PM
(#36766264)
Since all recursive programs can be converted into iterative programs then you can "simply" (not always simple) convert recursive solutions like McCarthy's Lisp solution to a loop: https://dl.acm.org/action/showFmPdf?doi=10.1145%2F1045283 (page 5)
Coroutines are not necessary for solving that problem (though they do offer a neat solution to it).
[ Parent
| on HN ]