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