Hacker News new | ask | show | jobs
by Cyph0n 1957 days ago
If basically everything stays on the stack, you’ll have a much lower chance of seeing a memory leak, by definition.
1 comments

Exactly. Using C/C++ doesn't have to mean using the heap.
Using the heap has nothing to do with the code being safe or unsafe.