Hacker News new | ask | show | jobs
by matklad 660 days ago
The answer is clear: just don’t have a malloc implementation in your process' address space!
2 comments

Welcome to embedded! It’s no heaps of fun!
I'm always surprised how much I don't miss dynamic allocation. :)
> no heaps

Angry upvote

pg needs to build that. Hold upvote icon for 5 secs=angry upvote
“I’m doing this as hard as I can”
A bump allocator is all anyone really needs
"Eh, it'll crash before it runs out of memory."
In some cases in a very literal sense (cue story about missiles)