Andrei's Google Talk

Adam Ruppe destructionator at gmail.com
Tue Aug 3 17:21:49 PDT 2010


On 8/3/10, Walter Bright <newshound2 at digitalmars.com> wrote:
> Andrei put together a benchmark that shows that D compiles 4 times faster
> than Go.

I've found D1 tends to be much faster than D2 as well. The dmd version
1 is so fast that I often think it doesn't even run!

D2's (relative) slowness I've tracked down to import std.stdio; - it
instantiates a bunch of templates just on import. We should be able to
fix this with a little work, and put D even further ahead of the
competition.

Then, just ditch that sloooow GNU ld on linux.


On a related note, I've gotta say Digital Mars has always been way
ahead of the competition on speed. DMC was my first compiler.
dmc+optlink is just insanely fast, even on my old Pentium 1.  When I
first went to Linux+gcc, it was a huge shock. Compared to dmc, gcc is
a snail. And it was even worse back then!

The Digital Mars EMCAScript implementation is insanely fast too. It
comes in at about 80x faster than IE6 - its contemporary competition.
Now, the new browsers beat it out by several times, but it took them a
lot of years to catch up.


More information about the Digitalmars-d mailing list