Is it time for D 3.0?
Ernesto Castellotti
erny.castell at gmail.com
Sat Mar 28 18:00:01 UTC 2020
On Saturday, 28 March 2020 at 17:09:34 UTC, Denis Feklushkin
wrote:
> On Friday, 27 March 2020 at 15:56:40 UTC, Steven Schveighoffer
> wrote:
>> [...]
>
> I have long wanted to offer but there was no suitable place. I
> would like to propose to trivial rename standart type names by
> this way:
>
> int -> int32
> ulong -> uint64
> float -> float32
> double -> float64
> byte -> octet
>
> Reason:
>
> Most developers no longer remember where these names came from
> and why it are so called. In the future this number will close
> to 100%. And soon we will have access to all sorts of
> non-standard FPGA implemented CPUs with a different byte size,
> for example.
>
> (It will also break existing code very reliably and it will be
> difficult to confuse up code of different Dlang versions.)
Absolutely! But I think it is not necessary to rename.
For me it is enough to create aliases in object.d, I did it
personally in my implementation of druntime to port D to AVR (It
is not yet public)
More information about the Digitalmars-d
mailing list