Re: "Programming in D" book, Parallelism chapter

2012-02-22 Thread Ali Çehreli
On 02/22/2012 08:15 AM, deadalnix wrote: >> http://ddili.org/ders/d.en/index.html >> >> Kindle and Lulu versions will follow later. >> >> Ali > > This book is awesome ! I really think it. This is what D needs. Thank you very much for the kind words. I know where it needs more work and keep maki

Re: "Programming in D" book, Parallelism chapter

2012-02-22 Thread deadalnix
Le 20/02/2012 08:12, Ali Çehreli a écrit : I have continued working on the book. 1) Translated the Parallelism chapter: http://ddili.org/ders/d.en/parallelism.html 2) Translated more chapters from the beginning of the book: * Redirecting Standard Input and Output Streams * Files * auto and ty

Re: "Programming in D" book, Parallelism chapter

2012-02-21 Thread David
Am 21.02.2012 18:28, schrieb Ali Çehreli: Good questions for D.learn, where I will learn myself. :) Ali I think I should subscribe to it ;)

Re: "Programming in D" book, Parallelism chapter

2012-02-21 Thread Ali Çehreli
On 02/21/2012 03:03 AM, David wrote: You mentioned tasks, what I was missing a bit is taskPool.put, Thank you David. I will add the rest of the TaskPool member functions. > since Task.executeInNewThread creates a new internal Pool, which is not what always want. Then would be interesting how

Re: "Programming in D" book, Parallelism chapter

2012-02-21 Thread David
You mentioned tasks, what I was missing a bit is taskPool.put, since Task.executeInNewThread creates a new internal Pool, which is not what always want. Then would be interesting how you check, if the pool's tasks have all finished (I didnt find any method doing this, to emulate this, I used an

Re: "Programming in D" book, Parallelism chapter

2012-02-20 Thread Ali Çehreli
On 02/20/2012 09:39 AM, Andrej Mitrovic wrote: > I have to say the pdf looks great, the choice of fonts and style is > very clean and readable. Thanks! Thank you very much! Glad to hear that it is useful but I will not pretend that the hyperlinks in the doc work correctly and that an index sect

Re: "Programming in D" book, Parallelism chapter

2012-02-20 Thread Ali Çehreli
On 02/20/2012 03:36 AM, David wrote: > I've found a type: "To simulate long-lasting operations, the following > examples call Thread.sleep() from the std.thread module. " > Thread.sleep is in core.thread (you imported the correct module in the > example-code) Thanks! Just fixed. Ali

Re: "Programming in D" book, Parallelism chapter

2012-02-20 Thread Andrei Alexandrescu
On 2/20/12 1:12 AM, Ali Çehreli wrote: I have continued working on the book. 1) Translated the Parallelism chapter: http://ddili.org/ders/d.en/parallelism.html Excellent work. I submitted this to reddit, and left the others for a future announcement. http://www.reddit.com/r/programming/com

Re: "Programming in D" book, Parallelism chapter

2012-02-20 Thread Andrej Mitrovic
I have to say the pdf looks great, the choice of fonts and style is very clean and readable. Thanks! I didn't know about the semantics of exceptions in parallel code and yieldForce. I should have paid more attention to the docs. :)

Re: "Programming in D" book, Parallelism chapter

2012-02-20 Thread David
Am 20.02.2012 08:12, schrieb Ali Çehreli: I have continued working on the book. 1) Translated the Parallelism chapter: http://ddili.org/ders/d.en/parallelism.html 2) Translated more chapters from the beginning of the book: * Redirecting Standard Input and Output Streams * Files * auto and typ

Re: "Programming in D" book, Parallelism chapter

2012-02-20 Thread Jordi Sayol
Congratulations! Is a very educational book. Cheers! -- Jordi Sayol

"Programming in D" book, Parallelism chapter

2012-02-19 Thread Ali Çehreli
I have continued working on the book. 1) Translated the Parallelism chapter: http://ddili.org/ders/d.en/parallelism.html 2) Translated more chapters from the beginning of the book: * Redirecting Standard Input and Output Streams * Files * auto and typeof * Name Space * The for Loop * The Ter