News for hackers. Stuff that matters.
Re:Parallelizing the Naughty Dog Engine Using Fibers [video] by wolfgke on Friday May 27, 2016 @09:08AM (#11785727)
makecontext/swapcontex doesn't have automatically growing stack (opposed to their WinAPI equivalents). Yes, you can do this, too, I know. But if you don't want to go into the gory details here you either have a alloc a "large enough" buffer for your coroutines thus probably wasting memory.
Re:Parallelizing the Naughty Dog Engine Using Fibers [video] by gpderetta on Friday May 27, 2016 @10:00AM (#11786061)
technically you only waste address space which should be plenty enough at least for a while.