Why aren't you using D at work?

weaselcat via Digitalmars-d digitalmars-d at puremagic.com
Fri May 29 02:50:27 PDT 2015


On Friday, 29 May 2015 at 08:57:46 UTC, Martin Nowak wrote:
> On Thursday, 28 May 2015 at 17:22:21 UTC, Andrei Alexandrescu 
> wrote:
>> On 5/28/15 8:38 AM, Manu via Digitalmars-d wrote:
>>> * Forceinline.
>>
>> Thanks for initiating this! The lack of a means to force 
>> inlining has been unpleasant at Facebook as well. It would be 
>> great if we got this (and of course other items on the list) 
>> rolling. -- Andrei
>
> Yes, likely, unlikely, forceinline, and noinline are important 
> tools.
> You should already be able to use PGO which gives the compiler 
> real statistics about your program and is good for a 5-10% 
> speedup.
> https://github.com/D-Programming-Language/dmd/pull/4651

Walter said likely/unlikely won't be implemented as the compiler 
already assumes the first condition is the more likely one the 
last time this was brought up.
I'm not sure if this is still true.


More information about the Digitalmars-d mailing list