• @[email protected]
    link
    fedilink
    English
    04 months ago

    You’re thinking of CPython. PyPy can routinely compete with C and C++, particularly in allocation-heavy or pointer-heavy scenarios.

    • @[email protected]
      link
      fedilink
      04 months ago

      I am indeed thinking of CPython because a) approximately nobody uses PyPy, and b) this article is about CPython!!

      In any case, PyPy is only about 4x faster than CPython on average (according to their own benchmarks) so it’s only going to be able to compete with C++ in random specifics circumstances, not in general.

      And PyPy still has a GIL! Come on dude, think!