Hacker News new | ask | show | jobs
by chrisper 3581 days ago
You should contribute this knowledge to the GitHub issue.
2 comments

A good idea, but I think it's common knowledge.

Lots of modules in the stdlib are written in C.

Well, it was news to me. Maybe because I only use Python casually.
ultimately it's of academic interest - the end user doesn't care what precisely is going on under the hood.
I thought it is rather part of the solution/answer to the issue. It is expected to be slower, so it's not necessarily broken. Kind of it's a feature, not a bug.
If one language is 50% slower in file reading and a simple state mashine that iterates over an array, that's not a feature.

Either the implementation or the compiler is lacking some optimization.

The implementation is suboptimal, and Go has some overhead compared to C.