News for hackers. Stuff that matters.
Re:Oxide on My Wrist: Hubris on PineTime was the best worst ... by zozbot234 on Monday March 28, 2022 @12:45PM (#30832478)
> This isn't Rust's fault per se; non-segmented architectures don't have an architecturally defined way to know the stack base.

Bounding stack usage is of course a whole-program concern, but that ought to be feasible when building for embedded, where external "plugin" components are unlikely and there's no inherent need for true separate compilation. (Arguably, in such cases even the need for an actual "stack" structure is actually quite limited; a smarter compiler might well replace many uses of the activation stack with references to static data, reserving it for cases where e.g. reentrancy is actively needed. AIUI, there has been some work along those lines for LLVM.)

Re:Oxide on My Wrist: Hubris on PineTime was the best worst ... by bcantrill on Monday March 28, 2022 @01:52PM (#30833414)
But to get back to your original question: you can see why the state of things today necessitates the use of the MPU, even for Rust?