Re:The Absurdity Of Stacks
by brokenkebaby on Sunday May 21, 2023 @08:23AM
(#36020173)
The main statement of the linked story is that on modern machines stack doesn't need to be small therefore we can embrace on-stack recursion, and current general preference for iteration over recursion is just an old luggage. To me it seems to be true while we talking exclusively about amounts of memory. But there are caveats related to its management (compilers, OS, process/thread) so I don't think you are free to switch between the paradigms unless you work really close to bare-metal.
[ Parent
| on HN ]
There are no comments on this comment yet.