Reimplementing the bulk of std.meta iteratively

Stefan Koch uplink.coder at gmail.com
Tue Sep 29 15:10:31 UTC 2020


On Tuesday, 29 September 2020 at 14:42:42 UTC, Dukc wrote:
> On Tuesday, 29 September 2020 at 12:54:53 UTC, Stefan Koch 
> wrote:
>> So we had this:
>>
>>> [...]
>>
>
> I don't know assembly, but I can see an even simpler reason why 
> the compiler can't generate a multiply instruction. It's 
> `mul(-5, 5)*`.

Which is another reason why it's harder to state the problem in a 
lower form.
I wrote the example wanting to show two semantically equivalent 
things and I did not.


More information about the Digitalmars-d mailing list