DMD 1.029 and 2.013 releases
Walter Bright
newshound1 at digitalmars.com
Fri Apr 25 14:08:49 PDT 2008
Jarrett Billingsley wrote:
> 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.
I don't agree. I've done ISRs and memory mapped I/O. The actual piece of
code that accessed the data that way formed a miniscule part of the
program, even on programs that were completely interrupt driven (like I
wrote an ASCII terminal program). Those are well served by two lines of
inline asm or a compiler builtin PEEK and POKE function.
Building a whole volatile subsystem into the type system for that is a
huge waste of resources.
More information about the Digitalmars-d-announce
mailing list