On C/C++ undefined behaviours

so so at so.do
Thu Oct 7 20:17:42 PDT 2010


> 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.

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


More information about the Digitalmars-d mailing list