Edit: just in case anyone took this too seriously, it was facetious.
Edit: I don't even know Rust but I wrote a prototype:
fn main() {
const LOL: *mut u64 = 1 as *mut u64;
unsafe {
std::ptr::write(LOL, 0);
}
}
Edit 2: fuck that's ugly.The safest software is the one that does nothing.
Is Spectre a vulnerability? Even that depends on what code you run and on which machine.
The reason your salary is going up is because there is no sensible access control management and sensible threat model for software. Can we know in which circumstances some software (or CPU) will be used? Can we assume who the users are? No, we can't because there are billions of computers out there and, thus, billions of different use-cases. And we all have to suffer from slower execution because someone wants to expose access to their machine through a multi-tenant single-process cloud environment or whatnot.
But jokes aside its mostly about realising that when you consider all aspects of computing its such a wide, deep field that no one, no matter how much of a "power user" they think they are, will ever do things perfectly, and mistakes add up over time until one day Validimir Hackowski is running bitcoin miners in your AWS account. Then you find one aspect or more of computing and investigate the infosec fields that help find those bugs/mistakes and fix them. I like websec and linux/windows config security, myself, all of which is in high demand.