Slower than Python

John Colvin john.loughran.colvin at gmail.com
Sat Mar 2 08:48:34 PST 2013


On Saturday, 2 March 2013 at 16:09:02 UTC, Jacob Carlborg wrote:
> On 2013-03-02 02:10, Walter Bright wrote:
>
>> Python's splitter, which you are measuring, isn't written in 
>> Python. It
>> is written in C. You're actually comparing a bit of C code 
>> with a bit of
>> D code.
>
> Does that really matter. He's using Python, if the function is 
> part of the standard library and if it's implement in Python or 
> C doesn't really matter.

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.


More information about the Digitalmars-d mailing list