Is it time for D 3.0?

rikki cattermole rikki at cattermole.co.nz
Mon Mar 30 05:54:55 UTC 2020


On 30/03/2020 6:51 PM, Denis Feklushkin wrote:
> On Sunday, 29 March 2020 at 13:34:44 UTC, Steven Schveighoffer wrote:
>> On 3/28/20 1:09 PM, Denis Feklushkin wrote:
> 
>>> int -> int32
>>> ulong -> uint64
>>> float -> float32
>>> double -> float64
>>> byte -> octet
>>
>> I would say no, for 2 reasons. One, this is basically renaming without 
>> benefit.
> 
> 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.


More information about the Digitalmars-d mailing list