|
|
|
|
|
by adwn
1337 days ago
|
|
> I wonder if Rust or similar could make the MMU transistors and energy budget redondant. No, those concerns are completely independent of each other. Rust's memory safety protects from accidentally accessing the wrong memory within the same address space, while the MMU protects against accessing (accidentally or intentionally) any memory in other address spaces. In addition, the address translation done by the MMU has many more applications, like swapping, memory-mapped files, shared memory, copy-on-write after fork, or stack guard pages, none of which can be done by software alone. |
|
On systems without MMU there's only one shared address space (like on the Amiga, you only had lightweight processes/threads called Exec Tasks which all ran in the same global address space).
Rust could definitely help to isolate memory accesses of applications that all run in the same address space.