Time to move std.experimental.checkedint to std.checkedint ?

tsbockman thomas.bockman at gmail.com
Tue Mar 30 17:09:06 UTC 2021


On Tuesday, 30 March 2021 at 03:31:05 UTC, Walter Bright wrote:
> On 3/29/2021 6:29 PM, tsbockman wrote:
>> On Tuesday, 30 March 2021 at 00:33:13 UTC, Walter Bright wrote:
>>> Having D generate overflow checks on all adds and multiples 
>>> will immediately make D uncompetitive with C, C++, Rust, Zig, 
>>> Nim, etc.
>> 
>> As someone else shared earlier in this thread, Zig already 
>> handles this in pretty much exactly the way I argue for:
>>     https://ziglang.org/documentation/master/#Integer-Overflow
>
> I amend my statement to "immediately make D as uncompetitive as 
> Zig is"

So you're now dismissing Zig as slow because its feature set 
surprised you? No real-world data is necessary? No need to 
understand any of Zig's relevant optimizations or options?


More information about the Digitalmars-d mailing list