H1 2015 Priorities and Bare-Metal Programming

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Tue Feb 3 21:05:04 PST 2015


"Andrei Alexandrescu"  wrote in message news:mar39k$hvh$1 at digitalmars.com...

> I think the best route here - and the most in-the-spirit-of-D - is to 
> provide introspection on whether a function is being inlined or not. Then 
> we can always have in libraries:
>
> bool uart(ubyte b)
> {
>      static assert(__traits(inlined),
>        "Inlining of uart() must be supported.");
>      ...
> }

That would require that inlining is done in the frontend, which is not 
acceptable. 



More information about the Digitalmars-d mailing list