Benchmarks - LDC vs GDC

Sergey kornburn at yandex.ru
Tue Jun 27 09:31:50 UTC 2023


On Monday, 26 June 2023 at 20:22:24 UTC, Cecil Ward wrote:
>
> Anyone up for it?

Hi. Every problem from this set of benchmarks has D solution 
https://programming-language-benchmarks.vercel.app/
It is open-sourced on GitHub. Currently the benchmark run it with 
DMD and LDC (it is lacking GDC because some problems with GitHub 
Actions).

But you can run it locally with very little effort.
For time measurement I can recommend to use hyperfine tool.

Also GDC and LDC have their special things for vectorizations. 
And maybe Bruce Carneal could share some examples/benchmarks of 
them.


More information about the Digitalmars-d mailing list