dmd -run speed trends

Witold Baryluk witold.baryluk at gmail.com
Sun Dec 17 17:33:14 UTC 2023


On Sunday, 17 December 2023 at 09:14:31 UTC, Siarhei Siamashka 
wrote:
> On Sunday, 17 December 2023 at 06:40:33 UTC, Witold Baryluk 
> wrote:
>> On Saturday, 16 December 2023 at 03:31:05 UTC, Walter Bright 
>> wrote:
>>> It would be illuminating to compare using printf rather than 
>>> writefln.
>>
>> Ok, added `extern(C) int printf(const char *format, ...);`, 
>> and measured various variants.
>
> I don't think that there's much practical value in testing 
> `printf` because it's not compatible with `@safe` and can't be 
> recommended for developing normal D applications. This scenario 
> gets out of touch with reality and becomes way too artificial.


That is your opinion. It is completely invalid, but your opinion.



More information about the Digitalmars-d mailing list