Andrei Alexandrescu

Results 104 comments of Andrei Alexandrescu

Emperor's new groove: lower `synchonized` to a nice template and leave the rest to library code.

FWIW I'd personally very much like `is` to work on symbols and values as well.

after: ![b](https://user-images.githubusercontent.com/566679/33917399-18195818-df7c-11e7-9e54-ee62c6b63dd6.png)

N.B.: this is best viewed as a split diff.

>I think there may be the idea that strong and weak purity mean "can optimize" and "cannot optimize", but this is not true. (For example, a weakly pure function that...

>I have no idea why there would be a special case for functions with zero arguments. This does not exist now and it contradicts existing compiler behavior: ```d int[] foo()pure{...