logoalt Hacker News

raggilast Thursday at 5:27 AM0 repliesview on HN

Sure, you drop an active arena pointer into TLS and allocate out of that then pop and free it once you pop the stack. Producing API guarantees that all incoming references are dead before you do that though, that's the real trick.