On C/C++ undefined behaviours

Denis Koroskin 2korden at gmail.com
Thu Oct 7 20:22:36 PDT 2010


On Fri, 08 Oct 2010 07:17:42 +0400, so <so at so.do> wrote:

>> It appears that in XML parsing Java is actually 5..10 times faster than
>> D1/Phobos. Maybe D2/Phobos has finally fixed these issues.
>
> RapidXML is a 2.5k loc header file, using templates.
> Equal D code possibly using ranges and slicing wouldn't be more than 1k  
> loc, and it would still be possible to outperform it since C++ don't  
> have any of these and much more.
>
> I would love to see a comparison of C++ and D implementation of this  
> lib/header.
>

Tango (D1) XML module performance comparison:

http://dotnot.org/blog/archives/2008/02/


More information about the Digitalmars-d mailing list