News for hackers. Stuff that matters.
Re:Fibers: An Elegant Windows API by amelius on Friday March 29, 2019 @07:44AM (#19520749)
How do you manage stack memory (allocation, increasing capacity, freeing, moving, etc.)? Is it possible to suspend a fiber to disk?
Re:Fibers: An Elegant Windows API by CodesInChaos on Friday March 29, 2019 @07:52AM (#19520780)
A Fiber has its own OS stack and cannot outlive the process (just like a thread). So the memory cost is the same as a normal thread. The main difference is that it uses cooperative scheduling.