Re: Fibers and async io stuff for beginners

2015-04-24 Thread Chris via Digitalmars-d-learn
On Thursday, 23 April 2015 at 22:26:28 UTC, Jens Bauer wrote: On Thursday, 23 April 2015 at 19:24:31 UTC, Chris wrote: On Thursday, 23 April 2015 at 16:57:30 UTC, Jens Bauer wrote: 3: Audio mixing and playback (eg. a MOD player for instance). 5: Queueing up a bunch of different jobs; At the

Re: Fibers and async io stuff for beginners

2015-04-24 Thread Jens Bauer via Digitalmars-d-learn
On Friday, 24 April 2015 at 09:15:21 UTC, Chris wrote: I was more thinking of the audio thread. But the audio is probably better off in a separate thread. I think you could do this too. In fact, this is very similar to how the audio from a MOD file is decoded. (I only mentioned an

Re: Fibers and async io stuff for beginners

2015-04-24 Thread Chris via Digitalmars-d-learn
On Friday, 24 April 2015 at 12:38:39 UTC, Jens Bauer wrote: On Friday, 24 April 2015 at 09:15:21 UTC, Chris wrote: I was more thinking of the audio thread. But the audio is probably better off in a separate thread. I think you could do this too. In fact, this is very similar to how the

Re: Fibers and async io stuff for beginners

2015-04-23 Thread ref2401 via Digitalmars-d-learn
Awesome!

Re: Fibers and async io stuff for beginners

2015-04-23 Thread Ali Çehreli via Digitalmars-d-learn
On 04/23/2015 06:56 AM, ref2401 wrote: I'm intrested in fibers and async io. Could anyone suggest articles, books or tutorials about the subject? Thank you I am working on adding a Fibers chapter to my book. Although it is still a draft and not linked from any other page, I've made it

Re: Fibers and async io stuff for beginners

2015-04-23 Thread Jens Bauer via Digitalmars-d-learn
On Thursday, 23 April 2015 at 14:22:01 UTC, Ali Çehreli wrote: On 04/23/2015 06:56 AM, ref2401 wrote: http://ddili.org/ders/d.en/fibers.html I appreciate any feedback before the book is finally printed sometime before DConf. This is great information. I didn't know anything about Fibers

Re: Fibers and async io stuff for beginners

2015-04-23 Thread Chris via Digitalmars-d-learn
On Thursday, 23 April 2015 at 16:57:30 UTC, Jens Bauer wrote: On Thursday, 23 April 2015 at 14:22:01 UTC, Ali Çehreli wrote: On 04/23/2015 06:56 AM, ref2401 wrote: http://ddili.org/ders/d.en/fibers.html I appreciate any feedback before the book is finally printed sometime before DConf.

Re: Fibers and async io stuff for beginners

2015-04-23 Thread Jens Bauer via Digitalmars-d-learn
On Thursday, 23 April 2015 at 19:24:31 UTC, Chris wrote: On Thursday, 23 April 2015 at 16:57:30 UTC, Jens Bauer wrote: 3: Audio mixing and playback (eg. a MOD player for instance). 5: Queueing up a bunch of different jobs; At the moment I'm using threads to implement a speech synthesizer. It

Fibers and async io stuff for beginners

2015-04-23 Thread ref2401 via Digitalmars-d-learn
I'm intrested in fibers and async io. Could anyone suggest articles, books or tutorials about the subject? Thank you