Is it time for D 3.0?

Denis Feklushkin feklushkin.denis at gmail.com
Mon Mar 30 06:07:12 UTC 2020


On Monday, 30 March 2020 at 05:54:55 UTC, rikki cattermole wrote:

>> My second proposal is remove auto casting to int while 
>> calculations:
>> int8 * int8 == int16 (not int32)
>> 
>> Sometimes it causes unncessary casts. Intuitively it seems 
>> that it is uneconomical and possibly spoils superscalarity.
>> 
>> Perhaps this from those ancient times when compatibility D 
>> with C was declared at source level? (Or am I confusing and 
>> there was no such period?)
>
> C integer promotion is a feature, it is not going anywhere.

I do not understand its usefulness.
But I sure that if this proposal will be accepted existing code 
will be broken silently and this means this can only be 
implemented in D3.



More information about the Digitalmars-d mailing list