dom96 / binary_size

21 stars 5 forks source link

Why ldc? #8

Open TJesionowski opened 5 years ago

TJesionowski commented 5 years ago

I was glancing at compile.sh and I noticed that the dlang example is compiled with ldc. I find this odd considering that, eg, C is compiled with gcc, and dlang had a gcc frontend, gdc. (gcc now supports D directly).

Since the benchmark would logically be sensitive to different backends, shouldn't there be some rule as to which compiler is used for languages which have multiple mature compilers? (IE, best result/prefer reference compiler, prefer gnu compiler, etc).

dom96 commented 5 years ago

IIRC I got the best results from LDC, but if you want to prove otherwise I'll see about changing it.