News for hackers. Stuff that matters.
Re:RetroForth 2021.1 by MaxBarraclough on Thursday February 18, 2021 @07:44AM (#26179152)
> just allocate memory by bumping the stack pointer and clear out everything at specific boundaries

You've described region-based memory management, also known as arena allocation. [0] This can indeed work nicely in short-lived applications like missile-guidance and even serious compilers. [1] It's not real garbage collection though.

[0] https://en.wikipedia.org/wiki/Region-based_memory_management

[1] https://web.archive.org/web/20190126213344/https://www.drdob...

There are no comments on this comment yet.