Re: regex, I was referring to some of the other C++ implementations:<p><a href="https:&#x2F;&#x2F;benchmarksgame.alioth.debian.org&#x2F;u64q&#x2F;program.php?test=regexdna&amp;lang=gpp&amp;id=4" rel="nofollow">https:&#x2F;&#x2F;benchmarksgame.alioth.debian.org&#x2F;u64q&#x2F;program.php?te...</a><p><a href="https:&#x2F;&#x2F;benchmarksgame.alioth.debian.org&#x2F;u64q&#x2F;program.php?test=regexdna&amp;lang=gpp&amp;id=3" rel="nofollow">https:&#x2F;&#x2F;benchmarksgame.alioth.debian.org&#x2F;u64q&#x2F;program.php?te...</a><p>I have no idea whether it&#x27;s the regex implementations that are causing the comparative slowness, to be honest. Just seemed interesting that some C++ implementations using what I would think are common techniques fall behind many other languages&#x27; implementations.<p>Of course, benchmarks are always arbitrary, and some of them will just disadvantage approaches that would be perfectly realistic ways to solve &quot;real-world&quot; problems, so it&#x27;s always a grain-of-salt situation. However I&#x27;m not sure it&#x27;s necessarily fair to say that &quot;C++ should be at least as fast as C for any fair benchmark.&quot; Doesn&#x27;t that expose you to the danger of redefining fair benchmarks as &quot;those benchmarks which reinforce my preconceived notions of which tools have what performance characteristics&quot;?