DMD 1.029 and 2.013 releases
Jarrett Billingsley
kb3ctd2 at yahoo.com
Fri Apr 25 11:49:19 PDT 2008
"Walter Bright" <newshound1 at digitalmars.com> wrote in message
news:fut4bg$30a2$1 at digitalmars.com...
> Jarrett Billingsley wrote:
>> Wait, you mean the volatile statement was never even implemented, even in
>> D1?
>
> All it did was apply C's volatile semantics to the enclosed statements,
> which is really not good enough for multithreading.
No, it's not. But it's good enough for system programming, when you have
things like memory-mapped registers and memory locations that change on
interrupts. Relying on ASM or other languages to do something so
fundamental in a language that's _meant_ to be a system programming language
seems like a terrible omission.
More information about the Digitalmars-d-announce
mailing list