• Balder
    link
    English
    23 days ago

    Not all of the stdlib is written in C. Some parts cannot be Python because it’s critical code that needs to be as fast as possible.

    Python is already slow for many use cases, if the standard lib was all built in Python it would be just too slow for much more use cases.

    • @[email protected]
      link
      fedilink
      English
      13 days ago

      I didn’t mean it’s a bad choice !

      But I think it’s a good example of the compromise that has to be made here : what’s the best fitting technology vs. how to ensure easy onboarding for future contributors.