News for hackers. Stuff that matters.
Re:Coroutines and Fibers: Why and When by iambvk on Friday January 15, 2016 @03:07PM (#10911741)
I don't understand how resumable functions can be used to build stack-full coroutines, like in Go language, can anyone give an example or some links?
Re:Coroutines and Fibers: Why and When by gepoch on Friday January 15, 2016 @03:15PM (#10911793)
Go has an interesting history surrounding its stacks. Originally the stack was a doubly linked-list (segmented stack), but it changed into a more vector-like format (contiguous stacks) in 1.3. Here's a pretty good write-up:

http://agis.io/2014/03/25/contiguous-stacks-in-go.html