frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Size-Specialized Memory Allocation

https://go.dev/blog/size-specialized-allocations
10•spacey•1d ago

Comments

pizlonator•59m ago
Super interesting!

Fil-C's GC has basically always had size-specialized allocation and I've done some experiments with this so I have my own data.

As the post says, there are two potential benefits:

- Faster memory clearing when the compiler knows the size. In Fil-C, I leverage that by having LLVM emit a memset inline, so it often ends up being some SIMD crap.

- Faster size class computation.

Interestingly, the faster size class computation isn't really faster in practice. I implemented it and that's how the ABI works today, but I'm likely to move the size class computation into the runtime to simply the ABI, since repeated experiments show that there are no savings to be had there. It's super surprising, but the numbers don't lie.

Anyway, cool to see other fast non-moving GCs also finding the same sweet spot as me.

(Posted from WebKit built with Fil-C so for extra meta, I'm using the GC I describe to write this post)

charleslmunger•54m ago
https://github.com/protocolbuffers/protobuf/commit/50f9ac3ba...

On a sufficiently anemic CPU doing enough fast allocation you can get measurable improvements from that kind of thing, but for a superscalar CPU and a general purpose allocator I agree you'd be hard pressed.

pizlonator•35m ago
Not sure that protobuf change is the same thing

But you might be right on your overall point: on my big x86 CPU, it doesn't matter, but it might matter on some tiny arm thingy

Claude Code now reads AGENTS.md if there is no Claude.md

https://code.claude.com/docs/en/changelog
375•datadrivenangel•2h ago•142 comments

Android 17 is the first since 3.x to add new APIs without releasing to the AOSP

https://grapheneos.social/@GrapheneOS/117282080803799576
412•theanonymousone•4h ago•198 comments

Saving another 100TB of RAM

https://blog.cloudflare.com/saving-100-tb-of-ram-with-math/
177•f311a•4h ago•36 comments

Cloudflare Quick Tunnels

https://try.cloudflare.com/
522•jcbhmr•9h ago•226 comments

How OpenAI Used Its Own LLMs to Design Its Jalapeño Chip

https://spectrum.ieee.org/llms-for-chip-design
9•maxall4•28m ago•4 comments

Xcode 27.1 Beta Release Notes

https://developer.apple.com/documentation/xcode-release-notes/xcode-27_1-release-notes
103•CameronBanga•4h ago•61 comments

Cache-to-Cache: Direct Semantic Communication Between LLMs (2025)

https://arxiv.org/abs/2510.03215
57•rochansinha•4h ago•11 comments

Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug

https://donjon.ledger.com/blog/rp2350-secure-debug-laser-fault-injection/
140•synack•6h ago•45 comments

How to Write with an LLM

https://sockpuppet.org/blog/2026/09/17/how-to-write-with-an-llm/
359•joeriddles•1d ago•249 comments

Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash

https://cactuscompute.com/needle
151•HenryNdubuaku•23h ago•72 comments

US troop deaths during Iran war exceed Pentagon count by at least four

https://www.reuters.com/world/middle-east/us-troop-deaths-iran-war-exceed-pentagon-count-by-least...
87•wslh•57m ago•40 comments

OpenJev

https://openjev.com/
529•ilreb•13h ago•238 comments

The first new cat species discovered in 100 years

https://www.nationalgeographic.com/animals/article/meet-the-first-new-cat-species-discovered-in-1...
136•ohjeez•1d ago•36 comments

Cyclomatic Complexity in C#

https://blog.ndepend.com/understanding-cyclomatic-complexity/
19•gone35•2d ago•10 comments

The Implications of Linguistic Illegibility for LLM Security

https://arxiv.org/abs/2609.02852
42•tomjakubowski•4h ago•17 comments

Two parallel neural ectoderm progenitors contribute to the developing brain

https://www.newscientist.com/article/2589739-our-brain-evolved-from-two-primitive-nervous-systems...
98•Jimmc414•8h ago•51 comments

C++26: Trivial infinite loops are no longer undefined behaviour

https://www.sandordargo.com/blog/2026/09/16/cpp26-trivial-infinite-loops
136•ibobev•1d ago•168 comments

The US 'Kill Chain' That Destroyed an Iranian School

https://www.bloomberg.com/graphics/2026-iran-school-attack
30•forthwall•1h ago•1 comments

Size-Specialized Memory Allocation

https://go.dev/blog/size-specialized-allocations
10•spacey•1d ago•3 comments

Warez: The Infrastructure and Aesthetics of Piracy (2021)

https://archive.org/details/b904a8eb-9c98-4bb1-bf25-3cb9d075b157
87•succinct_ideas•20h ago•13 comments

Minimal Phone 2

https://minimalcompany.com/
158•nashashmi•21h ago•151 comments

How SpaceX streamlined the Raptor engine

https://www.construction-physics.com/p/how-spacex-streamlined-the-raptor
145•JumpCrisscross•1d ago•25 comments

Inside ZCode: Silently uploading your Git history to the cloud

https://blog.ferstar.org/en/posts/zcode-silent-workspace-snapshot-upload/
242•csmantle•17h ago•89 comments

A 1542 papal cipher cracked with simulated annealing

https://simonklee.dk/farnese-letter
3•grigolin•1d ago•0 comments

A search-and-inference database from scratch in pure Zig

https://antfly.io/research/antfly-zig
48•kingcauchy•3d ago•16 comments

I vibed a proof of Conway's conjecture

https://overreacted.io/how-i-vibed-a-proof-of-conways-conjecture/
201•m-hodges•8h ago•175 comments

From Geometry to Algebra and Back Again: 4000 Years of Papers (2023) [video]

https://www.youtube.com/watch?v=1cRFfYQYGxE
24•surprisetalk•1d ago•0 comments

North Korean nuclear test sets off years of earthquakes

https://www.science.org/content/article/north-korean-nuclear-test-sets-years-earthquakes
171•rbanffy•8h ago•148 comments

Cekura (YC F24) Is Hiring

https://www.ycombinator.com/companies/cekura-ai/jobs/AiWwUxI-forward-deployed-engineer-us
1•atarus•11h ago

Korea raises data breach fines to 10% of revenue

https://www.koreajoongangdaily.com/business/korea-raises-data-breach-fines-to-10-of-revenue/12869899
236•throw7•3h ago•74 comments