Thread overview | |||||
---|---|---|---|---|---|
|
June 11, 2013 Fibers vs Async/await | ||||
---|---|---|---|---|
| ||||
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 Re: Fibers vs Async/await | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jonathan Dunlap | *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 Re: Fibers vs Async/await | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jonathan Dunlap | 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 > |
Copyright © 1999-2021 by the D Language Foundation