• @[email protected]
    link
    fedilink
    04 months ago

    While pure Python code should work unchanged, code written in other languages or using the CPython C API may not. The GIL was implicitly protecting a lot of thread-unsafe C, C++, Cython, Fortran, etc. code - and now it no longer does. Which may lead to all sorts of fun outcomes (crashes, intermittent incorrect behavior, etc.).

    :tabclose

    • @[email protected]
      link
      fedilink
      04 months ago

      those libraries include pretty much almost all popular libraries. It’s just impossible to write performant code in python.