digitalmars.D.learn - Programming language shootout
Daniel White <twinbee41 skytopia.com> writes:
Many of you guys will probably have known about this site: http://shootout.alioth.debian.org/ It's excellent for comparing each language on speed, code size, and memory usage. However, what I thought were one of D's strong points - its small code size is actually quite a bit worse than Ruby's. Does anyone know why this is? Are these things fixable, or would it compromise memory usage, or speed? Perhaps that's the secret why so many love Ruby, because it's so quick to type out code. The other issue is that in most cases, it's a little slower than C/C++. Again, is this something that can be eventually fixed?
Aug 05 2007
Robert Fraser <fraserofthenight gmail.com> writes:
Daniel White Wrote:The other issue is that in most cases, it's a little slower than C/C++. Again, is this something that can be eventually fixed?Someone posted on this issue some time back, saying that GDC gave D a considerable boost (over C/C++) on some of the shootout programs. Generally, however, the main reason D ends up slower is that the optimizer in DMD still has a lot of work needed.
Aug 06 2007