DIP62: Volatile type qualifier for unoptimizable variables in embedded programming

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 17 07:05:45 PDT 2014


"Iain Buclaw via Digitalmars-d"  wrote in message 
news:mailman.4214.1405521071.2907.digitalmars-d at puremagic.com...

> No they don't.  Intrinsics make things worse.

? At worst they're useless.

> > They are _trivial_ to implement for any of the compilers.
>
> No they aren't, unless you are talking specifically about volatile.,
> in which case, that depends...

Yes I'm talking about the peek/poke intrinsics.  As all D backends are C 
backends, and C supports these semantics already...

> Hardware access is supposed to be correct, not performant.

Ideally both! 



More information about the Digitalmars-d mailing list