frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Python 3.14 garbage collection rigamarole

https://theconsensus.dev/p/2026/06/06/python-3-14-garbage-collection-rigamarole.html
17•eatonphil•1d ago

Comments

functionmouse•1d ago
> Python 3.14.0 introduced a new incremental garbage collector. But reports of higher memory usage caused the Python team to revert the garbage collector changes in 3.14.5.

If they didn't have very good objective reasons the new GC is better, they never should have shipped it. If they do, they should not have reverted the change.

moron4hire•1h ago
It's this sort of stuff that leaves me scratching my head why people like Python so much. I hear them say they prefer the syntax and personally I feel like that's such a small part of the holistic experience of working with any particular language. It's one of the reasons why I gave up on C++ years ago for .NET, the whole system of tooling in .NET has never left me feeling like I was pigeonholed into doing things in stupid, self-flagelating ways. Why should I use a language like C++ that doesn't provide a standard set of package management and build tools? Why should I use a language like Python that feels like it's being designed by amateurs?

I felt like the tooling in Racket, CLisp, and Java were similarly pragmatic and not either religiously devoted to some concept of "backwards compatibility" that I seriously doubt most people actually need, or "ease of use" that actually proves itself to be easy when you consider the not-happy-path of the beginner tutorials. Racket, I didn't continue just because the library ecosystem isn't mature enough to keep up with the latest in databases and other 3rd party services. Java I quit largely because of Oracle and some 2010s problems with stagnation. CLisp mostly because it was too hard to socialize. But never because I thought the core language and tooling were holding me back.

SJC_Hacker•1h ago
Python is mostly about the “batteries included” standard library and what’s becoming nearly standard third party libs, being able to play around in the REPL,
hankbond•45m ago
It's easy to start learning on, or prototype with, and then sometimes momentum just keeps it going. Also it may not really be the best at anything, but it's "pretty good" at just about everything. It's kind of like vanilla ice cream.

Packaging can be irritating although uv takes the sting out a bit.

You are right that outside of verbosity, once you get used to the syntax of a language, the value of one over the other kind of fades.

petre•40m ago
> It's this sort of stuff that leaves me scratching my head why people like Python so much

Because of the libraries, not necessarily the language, which is also quite straightforward. For example we found a niche library that speaks the ISO-TP protocol in Python, which allows us to communicate with vehicle ECUs. That's why people also use C++, even tough I quite doubt it's because they like the language. Add to that that it's also heavily used in embedded programming. Yes, you could call a C/C++ library from another language, depending how well the language can do that. I prefer Ruby, but Python probably has everything one would need. And it's also great for data processing. We hardly have anything better than pandas, polars, numpy, scipy in other languages.

ameliaquining•1h ago
It's better in some ways (order-of-magnitude reductions in pause times were cited) but worse in other ways (higher peak memory usage). That the higher peak memory usage was catastrophic for some users only became apparent through post-release feedback.
petre•17m ago
They should have shipped it as an addon GC, not enabled by default. One could have turned it on with a command line switch or an env var, just like the Ruby JIT.
hmry•46m ago
Really? You've never reverted a positive change because it contained a regression only discovered after release?
irishcoffee•1h ago
The folks running the show as it relates to python remind me a lot about the folks running the show at mozilla.

That is not a compliment.

vlovich123•47m ago
I suspect 3.14.4 could have been tweaked slightly to address the issue without a revert - they could have prioritized checking the liveliness of objects sorted by size. I’m pretty sure that would fix the max RSS issue without needing a revert and the people unhappy with 3.14 could keep using 3.13 or switch to 3.14 and simply inject explicit calls to gc.gc().

Figuring out how to measure the size of an object can be tricky of course, but I suspect there’s all sorts of things you could try including figuring out how much memory got deallocated after you gc a cycle and attributing it to where the object got allocated as a heuristic to measure the mean allocation size.

nomel•11m ago
> I suspect 3.14.4 could have been tweaked slightly to address the issue without a revert

I'm sure all the people that have been working on this for years would be interested in your small tweak, that they didn't think of, and would happily accept the PR!

The Redistribution of Housing Wealth Caused by Rent Control [pdf]

https://www.rhawa.org/file/secure/shs-the-impact-of-rent-control-in-st-paul.pdf
44•luu•1h ago•38 comments

10th Gen Honda Civic Updates Are Signed with AOSP Test Keys

https://juniperspring.org/posts/honda-evil-valet/
107•librick•3h ago•16 comments

Noise infusion banned from statistical products published by Census Bureau

https://desfontain.es/blog/banning-noise.html
771•nl•14h ago•482 comments

GLM 5.2 Is Out

https://twitter.com/jietang/status/2065784751345287314
425•aloknnikhil•12h ago•234 comments

Every Frame Perfect

https://tonsky.me/blog/every-frame-perfect/
620•ravenical•16h ago•203 comments

FreeOberon – Open-Source, Cross-Platform, Free Pascal/Turbo Pascal-Like Language

https://github.com/kekcleader/FreeOberon
48•peter_d_sherman•2d ago•19 comments

Treating pancreatic tumours may have revealed cancer's master switch

https://economist.com/science-and-technology/2026/06/12/treating-pancreatic-tumours-may-have-reve...
323•andsoitis•14h ago•115 comments

Pyodide 314.0: Python packages can now publish WebAssembly wheels to PyPI

https://blog.pyodide.org/posts/314-release/
96•agriyakhetarpal•4d ago•23 comments

Python 3.14 garbage collection rigamarole

https://theconsensus.dev/p/2026/06/06/python-3-14-garbage-collection-rigamarole.html
18•eatonphil•1d ago•12 comments

Building a serial and VGA "everything console"

http://oldvcr.blogspot.com/2026/06/building-serial-and-vga-everything.html
7•classichasclass•1h ago•0 comments

Weave: Merging based on language structure and not lines

https://ataraxy-labs.github.io/weave/
7•rohanat•1h ago•1 comments

Codex for open source

https://openai.com/form/codex-for-oss/
194•EvgeniyZh•2d ago•64 comments

Apt Encounters of the Third Kind

https://igor-blue.github.io/2021/03/24/apt1.html
13•ogurechny•2h ago•2 comments

ReactOS (FOSS "Windows") achieves 3D-accelerated Half-Life on real hardware

https://www.phoronix.com/news/ReactOS-Running-Half-Life
137•jeditobe•5h ago•22 comments

GameBoy Workboy

https://tcrf.net/Workboy
171•tosh•10h ago•59 comments

Amazon CEO's talks with U.S. officials triggered crackdown on Anthropic models

https://www.wsj.com/tech/ai/amazon-ceos-talks-with-u-s-officials-triggered-crackdown-on-anthropic...
601•ls612•11h ago•443 comments

Running DOS on Behringers DDX3216 with a DIY x86-Bios from Scratch

https://chrisdevblog.com/2026/06/08/running-dos-on-behringers-ddx3216-using-a-diy-x86-bios/
84•rasz•9h ago•17 comments

A whale necropolis has been found

https://www.nature.com/articles/d41586-026-01581-x
43•tigerlily•3d ago•17 comments

Quadratic funding democratizes allocation by rewarding projects w/ broad support

https://internetfreedom.torproject.org/funding-distribution/
5•Cider9986•1h ago•0 comments

4 things to know about the new sunscreen ingredient the FDA approved

https://www.npr.org/2026/06/13/nx-s1-5856385/sunscreen-skin-protection-bemotrizinol
63•mikhael•3h ago•22 comments

Police officer investigated for using AI to 'create evidence' in multiple cases

https://news.sky.com/story/derbyshire-police-officer-investigated-for-using-ai-to-create-evidence...
262•austinallegro•8h ago•124 comments

Appreciating Exif

https://brentfitzgerald.com/posts/appreciating-exif/
142•burnto•4d ago•29 comments

A low-carbon computing platform from your retired phones

https://research.google/blog/a-low-carbon-computing-platform-from-your-retired-phones/
257•vikas-sharma•18h ago•139 comments

Human Routers of Machine Words

https://borretti.me/article/human-routers-of-machine-words
44•zx321•6h ago•22 comments

Ancient genome duplications laid the foundations of complex brains

https://www.ox.ac.uk/news/2026-06-09-ancient-genome-duplications-laid-the-foundations-of-complex-...
24•hhs•5h ago•1 comments

The Field Guide to CSS Grid Lanes

https://gridlanes.webkit.org/
10•ingve•3d ago•2 comments

The adder at the heart of Intel's 8087 floating-point chip

https://www.righto.com/2026/06/intel-8087-adder-reverse-engineered.html
101•pwg•11h ago•25 comments

RTX 5080 and RTX 3090 Setup: 80 Tok/s on Qwen 3.6 27B Q8

https://imil.net/blog/posts/2026/rtx-5080-+-rtx-3090-setup-80+-tok-s-on-qwen-3.6-27b-q8/
211•iMil•18h ago•72 comments

The experience of rendering Arabic typography and its technical debt

https://lr0.org/blog/p/arabic/
205•bookofjoe•15h ago•51 comments

AI coding at home without going broke

https://stephen.bochinski.dev/blog/2026/06/13/ai-coding-at-home-without-going-broke/
258•sbochins•11h ago•223 comments