Comment Re:Rust's let reminds me of Spectrum or ZX-81 basi (Score 1) 109
However, what's the lifetime of an interrupt vector? A DMA register?
Bolting Rust to everything is a cancer. Sometimes its constraints are so fascist that it begs you to construct logically questionable code.
It solves memory safety, while introducing an entirely new class of vulnerability: Broken logic because someone was fighting with the borrow checker. The
That doesn't mean it's a net negative by any means, but it should throw a flag for people who bizarrely see the language as some kind of panacea.
If you want to see sloppy Rust, just search github for "unwrap".