Thread overview
Fibers vs Async/await
Jun 11, 2013
Jonathan Dunlap
Jun 15, 2013
Jonathan Dunlap
Jun 17, 2013
Sean Kelly
June 11, 2013
I was listening to one of the DConf sessions and where was some talk about implementing async from C# into D someday in the far future. Recently I learned about D's fibers... and it looks like the same thing to me. What are the major differences in principle?

-Jonathan
@jonathanAdunlap
June 15, 2013
*bump*

On Tuesday, 11 June 2013 at 19:57:27 UTC, Jonathan Dunlap wrote:
> I was listening to one of the DConf sessions and where was some talk about implementing async from C# into D someday in the far future. Recently I learned about D's fibers... and it looks like the same thing to me. What are the major differences in principle?
>
> -Jonathan
> @jonathanAdunlap

June 17, 2013
Fibers don't actually execute asynchronously.  They represent an alternate execution context (code and stack) but are executed by the thread that calls them, and control is returned when they either yield or complete.  This video is a good introduction to fibers:

http://vimeo.com/1873969

On Jun 15, 2013, at 10:54 AM, Jonathan Dunlap <jadit2@gmail.com> wrote:

> *bump*
> 
> On Tuesday, 11 June 2013 at 19:57:27 UTC, Jonathan Dunlap wrote:
>> I was listening to one of the DConf sessions and where was some talk about implementing async from C# into D someday in the far future. Recently I learned about D's fibers... and it looks like the same thing to me. What are the major differences in principle?
>> 
>> -Jonathan
>> @jonathanAdunlap
>