Re: Fibers vs Async/await

2013-06-17 Thread Sean Kelly
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 Ju

Re: Fibers vs Async/await

2013-06-15 Thread 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 ar

Fibers vs Async/await

2013-06-11 Thread Jonathan Dunlap
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