Hello everyone, first post on this forum !
My question now.
I’m wondering, since Rust seems to promise safe memory usage patterns, through its concept of memory owners (don’t remember the official name), and since the Intel bug seems to come from shared memory if I understand somehow, would the bug have happened in Linux if Linux was entirely written in Rust (and no usage of unsafe Rust stuff, at least in the parts relevant to this bug) ?
For those not in the knows, here’s the link to the original bug report/disclosure https://www.theregister.co.uk/2018/01/02/intel_cpu_design_flaw/
Maybe a naive question, but I want to understand Rust more. I think this is a good real world case.
PS: Please, remember I’m no expert in low-level things, so if you need to go very technical, think about me and provide some explanations and/or links.
Thanks a lot in advance for your answers !
PS2: As I said, I know nothing about low-level stuff, but the language AND the community looks very nice from the outside. Keep up the good work !