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

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Mar 31 12:36:42 UTC 2021


On 3/31/21 7:46 AM, Max Haughton wrote:
> On Wednesday, 31 March 2021 at 09:47:46 UTC, Jacob Carlborg wrote:
>> On Wednesday, 31 March 2021 at 04:49:52 UTC, Andrei Alexandrescu wrote:
>>
>>> That makes their umbrella claim "Zig is faster than C" quite specious.
>>
>> The reason, or one of the reasons, why Zig is/can be faster than C is 
>> that is uses different default optimization levels. For example, Zig 
>> will by default target your native CPU instead of some generic model. 
>> This allows to enable vectorization, SSE/AVX and so on.
>>
>> -- 
>> /Jacob Carlborg
> 
> Specific Example? GCC and LLVM are both almost rabid when you turn the 
> vectorizer on

Even if that's the case, "we choose to use by default different flags 
that make the code more specialized and therefore faster and less 
portable" can't be a serious basis of a language performance claim.


More information about the Digitalmars-d mailing list