MIT Technology Review: An Interview With Bjarne Stroustrup

Sean Kelly sean at f4.ca
Tue Dec 5 13:18:58 PST 2006


zz wrote:
> 
> I did some work in D recently that is being used at a client's place and 
> it took about 2 hours to design and write (it's was not something that 
> was performance critical), one of my work mates got interested in D and 
> for the sake of curiosity we ran some test comparing D's built in arrays 
> with boost::ptr_vector which we use quite a lot and the results were as 
> follows:
> VS2003 = ~3.75 secs
> VS2003 with NedMalloc = ~1.35 secs
> DMD = ~ 7 secs
> We could not get DMC to compile Nedmalloc so we dropped testing DMC with 
> c++.
> 
> While he liked that language and said the he might actually use it to 
> prototype idea's, he will not use it in production code due to the 
> performance.

How long are these tests?  Could they be put online somewhere?  I'd be 
interested in trying these out for myself and see if I can close the gap 
a bit.


Sean



More information about the Digitalmars-d mailing list