Hello World with GDC and LDC differs in size a lot.
Rel
relmail at rambler.ru
Wed Mar 20 10:28:24 UTC 2019
I tried compiling a simple Hello World on Windows
with the latest DMD and the latest stable LDC. DMD
compilation results in 239kb executable and LDC
compilation results in 500kb executable (more than
twice bigger). -Os and -flto=full didn't do anything
to the executable size. So I'm wondering why is that?
I thought that LDC compiled binaries should be smaller
due to different kinds of optimizations in LLVM.
More information about the digitalmars-d-ldc
mailing list