Hacker News new | ask | show | jobs
by Cthulhu_ 1066 days ago
I think in theory you can write code (or do some tricks) to avoid all heap allocation.
2 comments

"In theory" being the operative words there. Turn on heap escape analysis sometime, you'll be surprised how hard it is to avoid.
You mean not growing the heap or literally no allocation?