2 ms·
A lot - title could probably use editing. The language has no heap, only stack memory, so the only deallocation is returning from a call stack frame.
by kenferry 16d ago
A lot - title could probably use editing. The language has no heap, only stack memory, so the only deallocation is returning from a call stack frame.
- yndoendo 16d agoHow big is the stack? Too often large data will blow the top and destroy adjacent stacks in multi-thread environments. Are memory barrier fences used to check against overflow?
- gcoakes 16d agoI think it is supposed to be stacks in the general sense of the data structure, not the literal `sp` register. I imagine they could be arbitrarily sized up to physical limits if you do some mmap magic. I'm still a bit fuzzy about how you could make useful programs with that, but it seems interesting.
- MiroslavPokorny 16d agoStack allocations will be lost when the enclosing call exits. How does this help for long term values ?
- bobbydigitales 16d ago[dead]