• Corbin@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 days ago

    Extension modules are implemented in C because the interpreter is written in C. If it were written in another language, folks would write extension modules for that language instead. Also, it would be less relevant if people used portable C bindings like cffi, which are portable to PyPy and other interpreters… but they don’t.