CTFE ^^ (pow)

Nick Sabalausky a at a.a
Fri Mar 23 23:28:51 UTC 2018


On Friday, 23 March 2018 at 18:22:06 UTC, Manu wrote:
> On 23 March 2018 at 03:16, Walter Bright via Digitalmars-d
>>
>> (BTW, there's a way to do it without the CTFE fix. One can use 
>> the approach I've always used in the past for C, which is 
>> write a separate program to generate the tables. This was used 
>> in the DMD build, and was gradually replaced with CTFE. It 
>> still exists in the backend, which is still in C++.)
>
> Right, but then there's no reason to use D.

Of course there is. It's called "all the other million things D 
does better than C++ besides CTFE pow".

> When D undermine's its own proposed usefulness, it loses 
> against C++ every time, no competition.

Not when it's isolated examples instead of the language as a 
whole. It's not D's fault programmers are terrible at basic 
cost/benefit analysis.



More information about the Digitalmars-d mailing list