frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

A deep dive into SmallVector:push_back

https://maskray.me/blog/2026-06-27-a-deep-dive-into-smallvector-push-back
17•mariuz•1d ago

Comments

dzaima•32m ago
The crappiness of shrink-wrapping in gcc and clang (but especially clang) annoys me a lot. It feels like there should be a quite decent amount of general performance to be gained from properly pushing more into slow paths (or, not necessarily even slow paths, but generally paths with high register pressure / uninlined function calls), never mind calling conventions in general.

On the push impl in the article - for non-x86 (and perhaps even on x86 for performance, though not size/instruction count) it'd be better to allow the size increment to reuse the size read done by the capacity check; with C++'s lack of aliasing information, the interleaved memcpy/store prevents the compiler from deciding this itself.

RossBencina•12m ago
> prevents the compiler from deciding this itself.

Interesting. I understand why it does that, but it makes me realise that I usually think "the compiler will reuse the loaded value/perform CSE" without considering the cases where it won't. Are there tools that will detect and warn/indicate this situation? e.g. "warning: could not reuse previously loaded value of 'foo' due to aliasing hazard 'memcpy' at line 234."

Why I Stopped Arguing with People

https://wangcong.org/2026-06-30-why-i-stopped-arguing-with-people.html
32•backlit4034•13m ago•14 comments

Asahi Linux 7.1 Progress Report

https://asahilinux.org/2026/06/progress-report-7-1/
307•pantalaimon•3h ago•76 comments

Single Dose of Frog-Derived Gut Bacterium Eradicates 100% of Tumors in Mice

https://www.thefocalpoints.com/p/new-study-frog-derived-gut-bacterium
194•mpweiher•4h ago•106 comments

Claude Code is steganographically marking requests

https://thereallo.dev/blog/claude-code-prompt-steganography
2243•kirushik•21h ago•652 comments

Newly discovered spider builds spring loaded snare to catch ants

https://phys.org/news/2026-06-newly-australian-ballista-spider-snare.html
141•chimpanzee•2d ago•28 comments

Manufact (YC S25) Is Hiring a Developer Advocate in SF

https://www.ycombinator.com/companies/manufact/jobs/4cyWd6S-developer-advocate-partnerships-devrel
1•luigipederzani•20m ago

Nintendo has raised its employees base salary by 10%

https://mynintendonews.com/2026/06/26/nintendo-has-raised-its-employees-base-salary-by-10/
127•_tk_•2h ago•35 comments

Obfuscation: Building the final boss of cryptography (Part I)

https://vitalik.eth.limo/general/2026/06/29/obfuscation1.html
34•fbrusch•1d ago•0 comments

The Internet I Grew Up with Doesn't Exist Anymore

https://cleberg.net/blog/internet.html
135•felixdoerp•3h ago•115 comments

Claude Sonnet 5

https://www.anthropic.com/news/claude-sonnet-5
1178•marinesebastian•19h ago•718 comments

Godot will no longer accept AI-authored code contributions

https://www.pcgamer.com/gaming-industry/open-source-game-engine-godot-will-no-longer-accept-ai-au...
378•pjmlp•6h ago•234 comments

A deep dive into SmallVector:push_back

https://maskray.me/blog/2026-06-27-a-deep-dive-into-smallvector-push-back
17•mariuz•1d ago•2 comments

ArXiv's Next Chapter

https://blog.arxiv.org/2026/06/30/arxivs-next-chapter/
184•subset•10h ago•54 comments

Swedish court says Google is to pay $1.5B to Klarna in antitrust damages

https://www.reuters.com/business/swedish-court-says-google-is-pay-15-billion-klarna-antitrust-dam...
74•giuliomagnifico•2h ago•35 comments

Physical disc production ending in Jan 2028 for new games on PlayStation

https://blog.playstation.com/2026/07/01/physical-disc-production-ending-in-january-2028-for-new-g...
80•Tiberium•1h ago•53 comments

Google copybara: moving code between repositories

https://github.com/google/copybara
248•reconnecting•13h ago•47 comments

Sony will no longer produce discs for PlayStation games starting in January 2028

https://www.eurogamer.net/sony-ending-playstation-discs-physical-media-january-2028
31•Wju•59m ago•19 comments

Compiler-Assisted Floating-Point Error Analysis and Profiling with FPChecker

https://fpanalysistools.org/ISC26/
4•matt_d•1d ago•0 comments

Claude Science

https://claude.com/product/claude-science
519•lebovic•20h ago•151 comments

Nano Banana 2 Lite

https://deepmind.google/models/gemini-image/flash-lite/
406•minimaxir•20h ago•166 comments

Leanstral 1.5

https://docs.mistral.ai/models/model-cards/leanstral-1-5-26-06
266•vetronauta•16h ago•109 comments

Matrix Orthogonalization Improves Memory in Recurrent Models

https://ayushtambde.com/blog/matrix-orthogonalization-improves-memory-in-recurrent-models/
62•at2005•8h ago•10 comments

Department of Commerce has lifted export controls on Claude Fable 5 and Mythos 5

https://twitter.com/AnthropicAI/status/2072106151890809341
789•Pragmata•13h ago•492 comments

How does a pull-back car work? Illustrated teardown

https://mechanical-pencil.com/products/car
236•Muhammad523•2d ago•38 comments

CERN bids farewell to the LHC and enters Long Shutdown 3

https://home.cern/cern-bids-farewell-to-the-lhc-and-enters-long-shutdown-3/
281•HelloUsername•1d ago•90 comments

Pine64 launch $50 smart speaker for Home Assistant tinkerers

https://www.omgubuntu.co.uk/2026/06/pine64-pinevoice-riscv-smart-speaker-launch
84•edward•3h ago•29 comments

I ported Kubernetes to the browser

https://ngrok.com/blog/i-ported-kubernetes-to-the-browser
309•peterdemin•16h ago•90 comments

Register Korea's First PC 'SE-8001' as a National Important Material

https://www.dongascience.com/en/news/30374
13•mushstory•5h ago•6 comments

Forestiere Underground Gardens

https://en.wikipedia.org/wiki/Forestiere_Underground_Gardens
83•onemoresoop•12h ago•18 comments

Building a custom octocopter from scratch with no prior hardware experience

https://karolina.mgdubiel.com/drone/
392•noleary•3d ago•81 comments