How do functions like alloca allocate memory from the stack?
ingve
48 points
19 comments
August 17, 2026
Related Discussions
Found 5 related stories in 204.6ms across 4,128 title embeddings via pgvector HNSW
- Using GCC's Nested Functions with Wide Pointers and No Trampolines II uecker · 92 pts · August 15, 2026 · 47% similar
- What happens when a GPU reads memory ibobev · 105 pts · August 21, 2026 · 42% similar
- What happens when a GPU reads memory? somnial · 15 pts · August 13, 2026 · 42% similar
- GhostLock, a stack-UAF that has existed in ALL Linux distributions for 15 years djfergus · 61 pts · July 10, 2026 · 41% similar
- Show HN: MCP Memory – Fast Agent Memory Using Google's OKF and SQLite FTS5 pcbmaker20 · 58 pts · August 13, 2026 · 41% similar
Discussion Highlights (2 comments)
kjellsbells
One thing that scares me a little is whether there are younger developers, say, 25-40, who can and want to pick up the mantle of Windows internals gurus. I mean, Chen has decades of winternals in his head. Microsoft has been gutting their staff for years now. When the Petzold/Chen generation hang up their spurs, does Microsoft still have a critical mass of people who understand Windows from the metal up?
jacknews
Only passingly related, some fun rust stack-allocation insanity by my 17yo son: https://ogghostjelly.github.io/slog/alloca.html