<div dir="ltr">This is not about write the best D code. It is about similar code to perform same. However when I looked at the D code it is not good port of C/C++. He made many mistakes which make it slower than C/C++ counterpart.<div>One example is read_one_line function:</div><div>C++: <a href="https://github.com/jpakkane/pkg-config/blob/cpp/parse.cpp#L60">https://github.com/jpakkane/pkg-config/blob/cpp/parse.cpp#L60</a></div><div>D: <a href="https://github.com/jpakkane/pkg-config/blob/d/parse.d#L57">https://github.com/jpakkane/pkg-config/blob/d/parse.d#L57</a></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 7, 2017 at 3:37 PM, Russel Winder via Digitalmars-d <span dir="ltr"><<a href="mailto:digitalmars-d@puremagic.com" target="_blank">digitalmars-d@puremagic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">So who is going to do the experiment and write the best D code to solve<br>
the problem, write the rebuttal article, and post it?<br>
<br>
It is good to get emotion going on the email list, but without external<br>
action D gets no positive marketing.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Russel.<br>
==============================<wbr>=============<br>
Dr Russel Winder      t: <a href="tel:%2B44%2020%207585%202200" value="+442075852200">+44 20 7585 2200</a><br>
41 Buckmaster Road    m: <a href="tel:%2B44%207770%20465%20077" value="+447770465077">+44 7770 465 077</a><br>
London SW11 1EN, UK   w: <a href="http://www.russel.org.uk" rel="noreferrer" target="_blank">www.russel.org.uk</a><br>
</font></span></blockquote></div><br></div>