Stroustrup's talk on C++0x

Sean Kelly sean at f4.ca
Sat Aug 25 10:19:34 PDT 2007


Walter Bright wrote:
> Craig Black wrote:
>> First, D needs to at the very least match the features that are added 
>> to C++ with regards to parallelism and concurrency.
> 
> D will be addressing the problem by moving towards supporting pure 
> functions, which are automatically parallelizable. I think this will be 
> much more powerful than C++'s model.
> 
> Also, D already implements a superset of some of C++0x's synchronization 
> primitives.

And with inline asm and volatile, an atomic operations package is fairly 
easy to implement in D (most easily for x86 for obvious reasons).  I 
really think D is in fairly good shape for concurrent programming even 
without a carefully established multithread-aware memory model.


Sean



More information about the Digitalmars-d mailing list