Reverting the incremental GC in Python 3.14 and 3.15

(discuss.python.org)

68 points | by curiousgal 3 days ago

4 comments

  • davidkwast 1 hour ago
    "Python 3.14 shipped with a new incremental garbage collector. However, we’ve had a number of reports of significant memory pressure in production environments.

    We’ve decided to revert it in both 3.14 and 3.15, and go back to the generational GC from 3.13."

    Sounds the right move for me

  • NooneAtAll3 1 hour ago
    I'm genuinely surprised that python change was even possible without PEP
    • AdamN 56 minutes ago
      Yeah it seems like a miss. I guess the thinking was that it wasn't developer-facing and just an internal optimization. But of course any change to garbage collection will change the memory and cpu dynamics of the process in a material way.
    • giancarlostoro 19 minutes ago
      Makes ya miss having a BDFL. Dang I didn't realize he's 70 now.

      https://en.wikipedia.org/wiki/Guido_van_Rossum

    • Fizzadar 1 hour ago
      Exactly! Would like to understand more how that came about. PEP exists for a reason.
  • brianwawok 5 minutes ago
    In the world of AI written code, Python just doesn’t make sense. Converted about 100k lines in the last few months to golang and the performance is life changing. Curious if we will see global Python adoption fall by 75% or more in the next few years.
  • askllk 56 minutes ago
    All these issues were known in previous attempts for removing the GIL. But if Instagram/Meta want it, everyone stands to attention and finds out the obvious problems years later. Kind of like in geopolitics.

    I hope Meta switches Instagram to PHP/Hack so they leave Python alone.