D vs Java
Lucas Goss
lgoss007 at gmail.com
Tue Mar 21 08:50:22 PST 2006
Anders F Björklund wrote:
> 31b hello.sh (script)
> Hello, World!
> 0.01 real 0.00 user 0.00 sys
> ...
Hmm, sounds like fun. Same tests for bourne shell, C, C++, and D (GDC)
on linux x86 (ubuntu dapper)
code size real user sys
sh 31b 0.016 0.010 0.006
0.017 0.007 0.009
0.018 0.011 0.006
C 6.8K 0.003 0.002 0.000
0.003 0.000 0.002
0.003 0.000 0.002
C++ 8.3K 0.127 0.005 0.001
0.007 0.003 0.003
0.006 0.001 0.004
GDC 426.5K 0.014 0.002 0.002
0.004 0.001 0.002
0.005 0.002 0.003
I kinda wonder how dmd does? I would have tried it but it links to
libstdc++.so.5, currently I have libstdc++.so.6 and didn't feel like
installing the old libstdc++ on this machine (I have others with older
versions that run dmd).
More information about the Digitalmars-d
mailing list