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•11m 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.

I have reimplemented Stable Diffusion 3.5 from scratch in pure PyTorch

https://github.com/yousef-rafat/miniDiffusion
219•yousef_g•5h ago•27 comments

Inside the Apollo "8-Ball" FDAI (Flight Director / Attitude Indicator)

https://www.righto.com/2025/06/inside-apollo-fdai.html
72•zdw•3h ago•15 comments

Unsupervised Elicitation of Language Models

https://arxiv.org/abs/2506.10139
92•kordlessagain•6h ago•5 comments

Solar Orbiter gets world-first views of the Sun's poles

https://www.esa.int/Science_Exploration/Space_Science/Solar_Orbiter/Solar_Orbiter_gets_world-first_views_of_the_Sun_s_poles
101•sohkamyung•2d ago•9 comments

How the Final Cartridge III Freezer Works

https://www.pagetable.com/?p=1810
9•ingve•2h ago•2 comments

Peano arithmetic is enough, because Peano arithmetic encodes computation

https://math.stackexchange.com/a/5075056/6708
192•btilly•1d ago•80 comments

Last fifty years of integer linear programming: Recent practical advances

https://inria.hal.science/hal-04776866v1
138•teleforce•13h ago•35 comments

The Many Sides of Erik Satie

https://thereader.mitpress.mit.edu/the-many-sides-of-erik-satie/
104•anarbadalov•6d ago•21 comments

SIMD-friendly algorithms for substring searching (2018)

http://0x80.pl/notesen/2016-11-28-simd-strfind.html
168•Rendello•15h ago•28 comments

Endometriosis is an interesting disease

https://www.owlposting.com/p/endometriosis-is-an-incredibly-interesting
279•crescit_eundo•20h ago•174 comments

SSHTron: A multiplayer lightcycle game that runs through SSH

https://github.com/zachlatta/sshtron
43•thunderbong•3h ago•8 comments

Waymo rides cost more than Uber or Lyft and people are paying anyway

https://techcrunch.com/2025/06/12/waymo-rides-cost-more-than-uber-or-lyft-and-people-are-paying-anyway/
78•achristmascarl•2d ago•118 comments

Slowing the flow of core-dump-related CVEs

https://lwn.net/SubscriberLink/1024160/f18b880c8cd1eef1/
67•jwilk•3d ago•10 comments

"Language and Image Minus Cognition." Leif Weatherby on LLMs

https://www.jhiblog.org/2025/06/11/language-and-image-minus-cognition-an-interview-with-leif-weatherby/
19•Traces•3d ago•8 comments

Peeling the Covers Off Germany's Exascale "Jupiter" Supercomputer

https://www.nextplatform.com/2025/06/11/peeling-the-covers-off-germanys-exascale-jupiter-supercomputer/
14•rbanffy•2d ago•2 comments

TimeGuessr

https://timeguessr.com/
205•stefanpie•4d ago•40 comments

Liquid Glass – WWDC25 [video]

https://developer.apple.com/videos/play/wwdc2025/219
144•lnrd•4d ago•257 comments

Solidroad (YC W25) Is Hiring

https://solidroad.com/careers
1•pjfin•7h ago

Filedb: Disk-based key-value store inspired by Bitcask

https://github.com/rajivharlalka/filedb
99•todsacerdoti•16h ago•9 comments

Self-Adapting Language Models

https://arxiv.org/abs/2506.10943
192•archon1410•1d ago•53 comments

Implementing Logic Programming

https://btmc.substack.com/p/implementing-logic-programming
171•sirwhinesalot•21h ago•53 comments

Student discovers fungus predicted by Albert Hoffman

https://wvutoday.wvu.edu/stories/2025/06/02/wvu-student-makes-long-awaited-discovery-of-mystery-fungus-sought-by-lsd-s-inventor
143•zafka•3d ago•113 comments

Me an' Algernon – grappling with (temporary) cognitive decline

https://tidyfirst.substack.com/p/me-an-algernon
79•KentBeck•4d ago•54 comments

Python argparse has a limitation on argument groups that makes me sad

https://utcc.utoronto.ca/~cks/space/blog/python/ArgparseAndNestedGroups
14•zdw•3d ago•1 comments

The Army’s Newest Recruits: Tech Execs From Meta, OpenAI and More

https://www.wsj.com/tech/army-reserve-tech-executives-meta-palantir-796f5360
186•aspenmayer•1d ago•161 comments

Strace Tips for Better Debugging

https://rrampage.github.io/2025/06/13/strace-tips-for-better-debugging/
23•signa11•12h ago•0 comments

Waymo's market share in San Francisco exceeds Lyft's

https://underscoresf.com/in-san-francisco-waymo-has-now-bested-lyft-uber-is-next/
76•namanyayg•2h ago•47 comments

The international standard for identifying postal items

https://www.akpain.net/blog/s10-upu/
92•surprisetalk•2d ago•19 comments

If the moon were only 1 pixel: A tediously accurate solar system model (2014)

https://joshworth.com/dev/pixelspace/pixelspace_solarsystem.html
833•sdoering•1d ago•248 comments

Mollusk shell assemblages as a tool for identifying unaltered seagrass beds

https://www.int-res.com/abstracts/meps/v760/meps14839
13•PaulHoule•2d ago•0 comments