H1 2015 Priorities and Bare-Metal Programming

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Mon Feb 2 13:01:28 PST 2015


On 2/2/2015 6:43 AM, Manu via Digitalmars-d wrote:
> I'm pretty sure the only controversy is that you want it to be a
> pragma, everyone else wants it to be an attribute.

That's correct.

My reasoning is simple - an attribute defines the semantics of the interface, a 
pragma gives instructions to the compiler, and does not affect logical semantics.

For example, attributes change the name mangling, because it affects the 
semantic interface. A pragma would not.



More information about the Digitalmars-d mailing list