News for hackers. Stuff that matters.
Re:Stack size invisibility in C and the effects on "portabil... by PerkinWarwick on Tuesday September 28, 2021 @10:46AM (#28683436)
It seems to me that in the case of the x86, the virtual memory system could detect overrunning the end of the stack and announce it to you.

The meta-problem is what to do with the information.

Re:Stack size invisibility in C and the effects on "portabil... by masklinn on Tuesday September 28, 2021 @11:11AM (#28683728)
A clean / clear error would already be better than just segfaulting with no indication (that's why e.g. Ruby or Python have explicit stack depth check and will raise an exception hopefully before they run out of C stack).