What are the worst parts of D?
Vladimir Panteleev via Digitalmars-d
digitalmars-d at puremagic.com
Thu Sep 25 21:05:18 PDT 2014
On Thursday, 25 September 2014 at 21:49:43 UTC, H. S. Teoh via
Digitalmars-d wrote:
> It's not just about performance.
Something I recently realized: because of auto-decoding,
std.algorithm.find("foo", 'o') cannot be implemented using
memchr. I think this points to a huge design fail,
performance-wise.
There are also subtle correctness problems:
haystack[0..haystack.countUntil(needle)] is wrong, even if it
works right on ASCII input.
For once I agree with Walter Bright - regarding the chair
throwing :)
More information about the Digitalmars-d
mailing list