frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Green Tea Garbage Collector

https://github.com/golang/go/issues/73581
92•cirwin•15h ago

Comments

silisili•11h ago
Well, I don't love that reported performance regressions are handwaved away as not the new gc, but doing something wrong or abnormal.

Will wait for more real world cases showing substantial improvements, but existing(and possibly bad) code exists and it shouldn't be blamed for regressions.

zozbot234•11h ago
I didn't see anyone "handwaving away" performance regressions in the thread. The closest was a special case where a Golang program was auto-tuning caching decisions based on heap size metrics, and this led to an apparent regression due to the improved metrics w/ the new GC leading to excessive caching. That's hardly the common case!

(In general though, if you take the authors' concerns about the increased future impact of memory bandwidth and memory non-locality seriously, the obvious answer is "don't use GC in the first place, except when you really, really can't avoid it. And even then, try to keep your object graphs as small and compact as possible wrt. memory use; don't have a single "tracing" phase that ends up scanning all sorts of unrelated stuff together." Of course this is unhelpful if you need to work w/ existing codebases, but it's good to keep in mind for new greenfield projects!)

brianolson•8h ago
"In select GC-heavy microbenchmarks ... we observed anywhere from a 10–50% reduction in GC CPU costs"

- Yay!

"The Go compiler benchmarks appear to inconsistently show a very slight regression (0.5%)"

- Boo

"Green Tea is available as an experiment at tip-of-tree and is planned as to be available as an opt-in experiment in Go 1.25"

I definitely know some application code that spends 30% of CPU time in GC that needs to try this.

Imustaskforhelp•6h ago
Regarding "The Go compiler benchmarks appear to inconsistently show a very slight regression (0.5%)"

Let the golang developers "cook", I am pretty sure that they are going to do what would be right for the language.

"The Go compiler benchmarks appear to inconsistently show a very slight regression (0.5%). Given the magnitude and inconsistency of the regression, these benchmarks appear to be rather insensitive to this change. One hypothesis is that the occasional regression may be due to an out-of-date PGO profile, but remains to be investigated."

So they are going to be investigated and definitely a reason why this occurs and how to fix it would also come before you or I would use it in 1.26 (since they are saying it would most likely be shipped in 1.26)(If I remember correctly?) so there is no need to boo I guess.

Great job from the golang team.

Imustaskforhelp•6h ago
This is fantastic if I am reading it correctly. Making go even faster.
rurban•1h ago
So still an extremely slow mark & sweep with stop the world. No compaction, not moving.

Mark & sweep is only really useful for external references, but golang has not many, much less than lisp.

zozbot234•7m ago
Golang GC is mostly concurrent, not stop-the-world. There's a tiny STW pause at the end of the 'mark' phase that could in principle be avoided, but it's not a huge issue wrt. performance.

Atmospheric chemistry enhances climate mitigation potential of tree restoration

https://www.nature.com/articles/s43247-025-02343-9
1•PaulHoule•34s ago•0 comments

Neanderthals Spread Across Asia with Surprising Speed–and Now We Know How

https://gizmodo.com/neanderthals-spread-across-asia-with-surprising-speed-and-now-we-know-how-2000613781
1•rntn•2m ago•0 comments

Writers, Abandon Literary Prizes

https://www.persuasion.community/p/writers-abandon-literary-prizes
1•Michelangelo11•3m ago•0 comments

Ask HN: Career Advice for Younger Folk

1•radialstub•3m ago•0 comments

Oxcaml

https://blog.janestreet.com/introducing-oxcaml/
2•bvaldivielso•6m ago•1 comments

Why I joined DOGE

https://www.npr.org/2025/06/13/1254121714/doge-staffer-sahil-lavingia-musk-va-fired
1•rmason•9m ago•0 comments

Parallel Self-Hosted Code Generation in the Zig Compiler

https://ziglang.org/devlog/2025/#2025-06-14
3•kristoff_it•10m ago•0 comments

The Most Important Memory Is Still the One Inside Your Head

https://carlhendrick.substack.com/p/the-most-important-memory-is-still
1•transpute•10m ago•0 comments

What Old Money Looks Like in America, and Who Pays for It

https://www.newyorker.com/culture/photo-booth/what-old-money-looks-like-in-america-and-who-pays-for-it
1•rbanffy•12m ago•0 comments

Collatz's Ant – alternative representation of Collatz dynamics

https://gbragafibra.github.io/2025/05/19/collatz_ant4.html
1•Fibra•14m ago•0 comments

The Death of the Summer Job

https://financialpost.com/fp-work/canadian-students-face-jobless-summer
1•like_any_other•22m ago•1 comments

Select() FD Crash Solved

https://github.com/Exafunction/codeium/pull/207
1•RAPIDEN•23m ago•1 comments

Novo Nordisk's Canadian Mistake

https://www.science.org/content/blog-post/novo-nordisk-s-canadian-mistake
1•mxhold•23m ago•0 comments

How to a DSL for typesafe and maintainable regex, and even more

https://github.com/Stream29/RegexDsl/blob/master/BuildDslStory.md
2•Stream•28m ago•0 comments

I built a site to explore the most popular Japanese anime by year

https://hot-anime.techartlife.com/
1•techartlife•30m ago•0 comments

Sleep Is for Backpropagation (2017)

https://dimitarsimeonov.com/2017/12/22/sleep-is-for-backpropagation
1•ijidak•32m ago•1 comments

Redwood AI: Mobility

https://www.1x.tech/discover/redwood-mobility
1•Brysonbw•34m ago•0 comments

Human-like object concept representations emerge naturally in multimodal LLMs

https://www.nature.com/articles/s42256-025-01049-z
1•frozenseven•38m ago•0 comments

Global Inequality: Branko Milanovic

https://paulkrugman.substack.com/p/global-inequality-branko-milanovic
1•rbanffy•43m ago•0 comments

Grep – AI Context Assistant

https://chromewebstore.google.com/detail/grep-ai-context-assistant/hlkpgngmcneopafpkkceppjnhlnpigbn
2•nitinram•44m ago•3 comments

Biofuels policy has been a failure for the climate, new report claims

https://arstechnica.com/science/2025/06/biofuels-policy-has-been-a-failure-for-the-climate-new-report-claims/
2•gametorch•46m ago•1 comments

The Cost of Free: How AI, Apps, and Crypto Are Exploiting Your Data

https://medium.com/@TonyCletus/the-hidden-cost-of-free-how-ai-apps-and-crypto-are-exploiting-your-data-especially-in-africa-eb0d425d6fc0
2•omojo•47m ago•0 comments

The LLM Engineer's Almanac

https://modal.com/llm-almanac/advisor
3•birdculture•47m ago•0 comments

Mark Zuckerberg's AI hiring spree

https://www.theverge.com/command-line-newsletter/687173/inside-mark-zuckerbergs-ai-hiring-spree
1•gametorch•47m ago•0 comments

RAG Is a Fancy, Lying Search Engine

https://labs.stardog.ai/rag-is-a-fancy-lying-search-engine
2•kendallgclark•53m ago•0 comments

Officials are searching for a 57-year-old man in shooting 2 Minnesota lawmakers

https://apnews.com/article/minnesota-lawmakers-shot-d7983e1e4f1a7573a487cab1a98cd172
28•donsupreme•54m ago•5 comments

Show HN: UltraXOXO – a tic-tac-toe of tic-tac-toe's

https://www.ultraxoxo.com/
1•ChandSethi•56m ago•0 comments

Ask HN: Indihackers – How do you plan your pricing page?

1•pinter69•56m ago•0 comments

The community builders: Ed Giansante x Michelle Goodall

https://www.michellegoodall.co.uk/insights/meet-the-community-builders-persona-ed-giansante-interview
1•randerson001•59m ago•0 comments

Show HN: Self Modify Retro Website

https://plastic.dunkirk.sh
1•clacker-o-matic•1h ago•0 comments