On Friday, 8 July 2016 at 14:01:14 UTC, Eugene wrote:
On Thursday, 7 July 2016 at 19:55:51 UTC, Andrei Alexandrescu wrote:
https://wiki.dlang.org/Vision/2016H2 -- Andrei

please add some features from Rust: primitive type aliases, like i8, u8, u32, and so on

Not hard:

module stdrust;

alias i8 = byte;
alias u8 = ubyte;
alias i16 = short;
alias u16 = ushort;
alias i32 = int;
alias u32 = uint;
alias i64 = long;
alias u64 = ulong;
alias i128 = cent;
alias u128 = ucent;
alias f32 = float;
alias f64 = double;

Reply via email to