DIP62: Volatile type qualifier for unoptimizable variables in embedded programming

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 15 14:25:47 PDT 2014


Iain Buclaw:

> The use of volatile can be buggy in C because there is no other 
> safe way to do inter-thread communication.

C11 offers means much better than volatile for multi thread 
programming:
http://en.wikipedia.org/wiki/C11_%28C_standard_revision%29#Changes_from_C99


> So your saying that embedded systems don't matter?

I was explaining that D design has priorities different from the 
ones for embedded systems.

And I'd like D to be fitter for low level coding, two hours ago I 
have written this:
http://forum.dlang.org/post/ftvdiqvjqgmsardoyksp@forum.dlang.org

Bye,
bearophile


More information about the Digitalmars-d mailing list