Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2221

Enable Multiple Cores by Supporting Removal of the GIL

    XMLWordPrintable

Details

    • Epic
    • Resolution: Unresolved
    • P3: Somewhat important
    • 6.9
    • 6.4
    • PySide, Shiboken
    • None
    • Qt for Python NoGIL
    • b7d4f311e (dev), 53dbaf2f8 (dev), e7770a293 (dev), 5abd98b65 (dev), f09dc73e5 (dev), 33bd61d13 (dev), c866be38d (dev), ab63b7fe0 (6.8)

    Description

      Python 3.12 is probably starting to support a no-gil configuration. PySide should to find the necessary changes to enable that in the PySide project. The anticipated community reaction
      is quite huge, since that will make Python really performant.

      Currently, there is only a prototype implementation that we are using. It is based on Python nogil-3.9.10-1 with a register machine and different opcodes. This version is by no means the version expected for the fall, when Python 3.12 should come into existence with NoGIL.

      It is not clear whether this branch will be continued at all. This depends very much
      on business decisions. I just wanted to make sure of the feasibility, but I'm not implementing it yet.
      The feasibility is definitely there if they have the right people and time.

      See What’s New In Python 3.13 and PEP 703 – Making the Global Interpreter Lock Optional in CPython

      Attachments

        Issue Links

          For Gerrit Dashboard: PYSIDE-2221
          # Subject Branch Project Status CR V

          Activity

            People

              ctismer Christian Tismer
              ctismer Christian Tismer
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: