Are these bencmarks recent and real?

user1234 user1234 at 12.de
Wed Sep 1 23:23:16 UTC 2021


On Wednesday, 1 September 2021 at 22:49:59 UTC, russhy wrote:
> On Monday, 30 August 2021 at 13:12:09 UTC, rempas wrote:
>> Just trying to compile a sample basic gtk-d project (including 
>> the libraries themselves) using ldc2 and optimization "-Os" 
>> and seeing how much time this takes, I want to ask if the 
>> benchmarks found 
>> [here](https://github.com/nordlow/compiler-benchmark) about 
>> ldc2 are real. Again seeing the gtk-d project taking so much 
>> time, It's hard to believe that ldc2 compiles faster that tcc 
>> and go. However, this test probably doesn't use optimizations 
>> but still.... Ayn thoughts?
>
> LDC is based on LLVM, just like rust/zig, so it's gonna be slow
>
> DMD is the reference compiler, it is what you should use to get 
> fast iteration time, in fast my game with 20+k lines of code 
> compiles in just 0.7 seconds
>

same with the `--force` dub argument ?


More information about the Digitalmars-d mailing list