The One With D News and Opinions of the Digital Mars D Programming Language

27Apr/092

Bartosz on Multithreading D

Bartosz Milewski has a blog post up on the concepts underlying the design of D's new multitheading paradigm. It's a great read for those wondering where D2 is going, particularly if you've seen all the hubub over pure, immutable, const, SafeD, and the other things that make D2 a different language from D1. One thing that stood out for me was this bit:

D’s support for message passing will be library-based. The race-free type system will make it safe and flexible. It will, for instance, support passing messages not only by value but also by reference–without sacrificing safety.

I hadn't even considered that there would be a message passing API. I assume, when he says it will be library-based, that he means it will be part of Phobos and not left up to a third party. You see, I'm crazy about messages. For certain types of applications, building a system around message passing can be a huge convenience, opening the door to all sorts of flexibility. And when coupled with a dynamic component based system... Give me dynamic class loading on par with Java and I'll have found my Nirvana.

On a side note, I'm well behind with D news. I'm a bit zonked right now, so I'll get a roundup posted after a good night's sleep and I finish teaching my early morning class tomorrow (which will still be today for most of you).

Tagged as: , Leave a comment
Comments (2) Trackbacks (0)
  1. the link to his Blogpost does not work. is it already published ?

  2. Yes, it was already published. But it appears to have been deleted.


Leave a comment


No trackbacks yet.