The purpose of D (GC rant, long)

Andrey Khropov andkhropov_nosp at m_mtu-net.ru
Thu Oct 26 17:42:49 PDT 2006


Serg Kovrov wrote:

Maybe you should take a look at this:

http://shootout.alioth.debian.org/gp4sandbox/benchmark.php?test=all&lang=dlang&l
ang2=gpp

http://shootout.alioth.debian.org/gp4sandbox/benchmark.php?test=all&lang=dlang&l
ang2=java

and also try to test some programs for yourself.

I also can say that recently there was a discussion on RSDN (Russian software
developers forum) about string splitting performance and D std.string's split
routine was the fastest and beat C++/boost.split 20x :

http://rsdn.ru/forum/Message.aspx?mid=2126270&only=1

(it's in Russian but you can easily recognize the numbers)

(some src code also here: http://rsdn.ru/forum/Message.aspx?mid=2113456&only=1)


--------------------------------------------------------------------------------

As D is a superset of C so you can still stick to structs and malloc/free 
and you can overload new/delete as well. 

And you can even allocate on the stack (syntax is horrible, though - perhaps to
discourage this).

-- 
AKhropov



More information about the Digitalmars-d mailing list