by flyinglizard · 14y ago · 0 comments
In embedded systems (non-MMU ones) you generally want to avoid repeated dynamic runtime allocation to prevent memory fragmentation.
It's a cute example, but I can't see any scenario where its better or safer than heap use.
The author does explicitly point this out: "While I find this style strangely addictive, I don’t think I would advocate its general use."