To help LDC/GDC

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Thu Apr 11 07:07:32 PDT 2013


On 04/11/2013 03:53 PM, Iain Buclaw wrote:
> I think that giving the user choice of purity is about as useful as given user
> choice over what functions should be inlined, or what vars should go in registers.

Well, I don't mean the compiler should guarantee that my code will be optimized
in a certain way, but it's handy to be able to verify that it _qualifies_ for
those optimizations.

That said, I think my suggestion is a minor convenience feature, and is much,
much less important than ironing out the design/implementation issues that
others have raised in this thread.

> Such decisions are best left to the compiler devs judgement on doing the right
> thing for you.  Even if they sometimes get it wrong. :o)

What??!!  You guys get it wrong sometimes??!! :-O


More information about the Digitalmars-d mailing list