I'm kind of biased towards hypothetical OS'es built from the ground up in a memory-safe system language like Rust (assuming one exists, which I'm not sure). All you have to do is look at the litany of security holes of the past decade or 2 to see how often a lack of memory safety led to a security bug. Do you know of one?