digitalmars.D.learn - Programming language shootout
- Dan (5/5) Aug 05 2007 Many of you guys will probably have known about this site:
- Robert Fraser (3/4) Aug 06 2007 Someone posted on this issue some time back, saying that GDC gave D a co...
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
Dan 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