Slower than Python

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Mar 2 09:12:35 PST 2013


On 3/2/13 11:09 AM, 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.

The point here is that often one needs to write code that's more than 
gluing library calls together. I've seen that many, many times.

Andrei




More information about the Digitalmars-d mailing list