How to size optimize the executable?

Claus D. Volko cdvolko at gmx.net
Wed Jan 14 09:13:18 PST 2009


What bothers me about D is that the executables dmd generates are quite large. Some simple programs have almost 200 kb. I've tried packing them with kkrunchy, the result are still about 100 kb. By contrast, with Visual C++ such programs would be only a few kbytes (in release mode). Why is D generating such big executables? How is it possible to get them smaller?



More information about the Digitalmars-d mailing list