Nick B wrote:
Jason House wrote:
Nick B <[email protected]> Wrote:

Can any one give a short update as to what has been happening/decided on the concurrency front lately, especially in regards to D 2.0

regards
Nick B

Buy Andrei's book ;)

I have the impression that the language spec escaped more or less unscathed. That's based mostly on early dmd-concurrency discussion and the lack of compiler updates in that area. I had expected Andrei's book would use a new message passing API, but I haven't seen anything completed in that area. It may be in druntime and I simply didn't notice. At a minimum, there were no breaking changes (do far) that effect my multi-threaded D2 code.

Perhaps Andrei can us an update? Its cheaper than buying his book!

:)

I think the concurrency model is in good shape. We went with message passing as the flagship and very limited sharing by use of the shared keyword. The prototype implementation is here:

http://www.dsource.org/projects/phobos/browser/trunk/phobos/std/concurrency.d

Sean is the author of it, so he can provide the details. My understanding is that it is a complete or near-complete implementation of the artifacts described in the book.


Andrei

Reply via email to