3 ms·
All in all, sound advice. No recursion? That's a deal breaker.
by GnarfGnarf 8y ago
All in all, sound advice.
No recursion? That's a deal breaker.
- lasagnaphil 8y agoNo recursion kinda makes sense, because you really don't want to have an accidental stack overflow while the airplane is off the ground... Interestingly, one of the goals of the Zig language (marketed as a replacement for C, currently in development), is to eliminate stack overflow while keeping recursion (by enabling the user to allocate stack frames in the heap). https://github.com/ziglang/zig/issues/1639 https://github.com/ziglang/zig/issues/1639
- biesnecker 8y agoWouldn't that eventually just lead to an OOM? Most of the time the recursion I write is either well-formed and lives nicely in the stack or poorly-formed and would consume all the memory in the universe if given the opportunity.