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 139.4ms across 13,334 title embeddings via pgvector HNSW
- How do functions like alloca allocate memory from the stack? ibobev · 12 pts · August 28, 2026 · 100% similar
- The Double Headed Stack Allocator g0xA52A2A · 43 pts · October 15, 2026 · 61% similar
- Indirect Calling of Nested Functions on GCC Without Executable Stack uecker · 72 pts · August 29, 2026 · 54% similar
- What is malloc doing, anyway? benmandrew · 243 pts · November 09, 2026 · 52% similar
- The State of Allocators in 2026 – 6 Months Later aw1621107 · 14 pts · September 09, 2026 · 48% 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