Accessing Hardware in Rust
6 points by raymii
6 points by raymii
MMIO has been a Rust pain-point for me for a long time and this article does a very good job of explaining why. derive-mmio looks promising and I’m looking forward to trying it next time I do an embedded project. That being said, it’s still really frustrating to feel like C’s anemic type system is more expressive (in this domain) than Rust’s.
Also iirc Rust’s memory model still has no answer for MMIO, but at least that’s a purely academic concern.