On 12/10/2013 3:23 PM, Marco Leise wrote:
Isn't it fairer to compile only (-c):dmd -c std_stdio.d 0,30s user 0,07s system 99% cpu 0,374 total dmd -c printf.d 0,00s user 0,00s system 87% cpu 0,008 total gcc -c printf.c 0,02s user 0,01s system 93% cpu 0,031 total
Yup, since gcc is not statically linking with the C runtime library, but dmd is statically linking to Phobos.