Someone should tell him about D...
max haughton
maxhaton at gmail.com
Thu Jun 2 17:34:43 UTC 2022
On Thursday, 2 June 2022 at 13:38:27 UTC, Araq wrote:
> On Thursday, 2 June 2022 at 11:51:30 UTC, forkit wrote:
>> On Thursday, 2 June 2022 at 10:36:24 UTC, twinbee wrote:
>>>
>>
>> Well, you know what they say:
>>
>> "The weakness of the C language comes from its strength"
>
> Assembly instruction `mov rcx, [rax]`. Cost: 1 cycle. Or 500.
>
> It's not 1980 anymore, there is hardly a benefit in looking at
> the assembler, you need to measure things. Musk is surprisingly
> bad at working from "first principles" sometimes.
Can even be zero on Zen3 with the stack to register file
optimization.
More information about the Digitalmars-d
mailing list