• Balder@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 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.

    • Bogasse@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 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.