Update on the D-to-Jai guy: We have real problems with the language

Paulo Pinto pjmlp at progtools.org
Tue Nov 29 09:29:28 UTC 2022


On Tuesday, 29 November 2022 at 02:37:25 UTC, Steven 
Schveighoffer wrote:
> On 11/28/22 9:12 PM, zjh wrote:
>> On Tuesday, 29 November 2022 at 01:58:48 UTC, Steven 
>> Schveighoffer wrote:
>> 
>>> such things (type functions would be nice to have).
>>>
>> 
>>> D's *core strength* is compile-time metaprogramming and code 
>>> generation. -Steve
>>>
>> 
>> 
>>   If there is no `metaprogramming` for `D`, why not use `C++`?
>> The author leaves `D`, which is also the compile time 
>> performance of `D`, currently cannot meet the needs of `heavy` 
>> metaprogramming.
>> 
>
> 1) C++ metaprogramming is... not the same.
>
> 2) I think if you are looking for better compile times, C++ is 
> not the right path.
>
> -Steve

Using C++20 modules in Visual C++, I can assert that that reason 
to fame for C++ will eventually be sorted out.

All my hobby coding with C++ now makes use of C++ modules.

And yes, this is yet something that C++ has taken inspiration 
from D.


More information about the Digitalmars-d mailing list