[Semi-OT] Fibers vs. Async / Await

rikki cattermole rikki at cattermole.co.nz
Thu May 12 01:57:26 UTC 2022


On 12/05/2022 8:15 AM, Ali Çehreli wrote:
> On 5/11/22 06:49, rikki cattermole wrote:
> 
>  > The context state required for a task will be a lot smaller (and hence
>  > cheaper) than what a single fiber stack will cost to scan.
> 
> While were on it, what are the blockers for stackless fibers for D?
> 
> Ali
> 

I don't know.

Whatever solution we come up with, it must support yielding in say a 
database driver, while an ORM returns say a Future and have the event 
loop automatically complete it.


More information about the Digitalmars-d mailing list