Are there stackless or heapless implementation of C++?
Others have already given good answers about the heap, so I’ll leave that alone. Some implementations (e.g., on IBM mainframes) don’t use a stack as most people would think of it, for the simple reason that the hardware doesn’t support it. Instead, when you call a function, an activation record (i.e., space for the locals, … Read more