Segmented stack

via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 17 13:11:44 PDT 2014


On Friday, 17 October 2014 at 04:23:40 UTC, Ola Fosheim Grøstad 
wrote:
> They don't have much of a choice since AMD64 does not provide a 
> segmented memory model.

Ack, I misinterpreted. The OP probably talks about 
"split-stacks", stacks a linked list of memory segments. I 
thought it was about trapping out-of-stack situations.

A historical note: I think Simula, Beta, Self and maybe early 
versions of Java allocated activation records on the gc-heap 
rather than using a stack. Allowing for high levels of 
concurrency with little wasted memory, but I have no references 
at hand…


More information about the Digitalmars-d mailing list