On 3/3/2013 7:09 AM, Jacob Carlborg wrote:
On 2013-03-02 17:48, John Colvin wrote:

It does.

Failing to beat mature, optimised C is not anything to be ashamed of,
but being slower than python would be an abject failure of D as a
compiled, systems programming language.

Then D needs to get faster, or we need to switch to C for some std lib
functions. In that case, as Walter said, we have failed.

Nothing in this thread suggests that D needs to switch its library implementations to C.

Interestingly, I tried the indexOf() benchmark using C's memchr() and memcmp() from VC's runtime library. It was not faster than Andrei's optimized D one.

Reply via email to