by ahepp · 4y ago · 0 comments
Or are the benefits too difficult to quantify?
It seems like if something along the lines of "MISRA C" (but requiring Rust) were to become an industry best practice, we might see the Rust ecosystem develop.
However, automakers are some of the most conservative companies out there when it comes to tech, and I doubt they really care about safety or formal correctness as much as being able to slap a "MISRA" sticker on the code for liability reasons.
It would have to be, decades I imagine, before there's any chance of rust becoming truly widespread in the embedded world. Universities would need to start teaching with it. People who know C and nothing else would need to retire. I agree that it's unlikely to be commercially viable at a large scale any time soon (unless you can find a handful of true believers for your team).
There already is a solution for heavily safety-critical systems and it's got 40 years of industry track record it's called Ada. [0]
I don't mean to sound dismissive but there is such a treasure trouve of battle tested industry learned experience in the Ada standard, it really is worth learning and considering.[1]
Ada has had four standards in almost four decades. For anyone in industry this pace is adequate and all of those standards were truly value adding without any disruption to legacy systems. This is not compatible with the pace at which most Systems and Backend Rust enthusiasts want to move forward.
I don't believe the two end applications/motivations can be merged under a single language or ecosystem despite many similarities.
[0] https://www.adacore.com/industries
[1] http://www.ada-auth.org/standards/12rat/html/Rat12-TOC.html
Medical devices, maybe, but you still have the problem of finding talent. If you were to build a product on Rust, you would have trouble hiring people to maintain it over the lifecycle of the product.
Its hard enough hiring C and C++ developers.
And don't sleep on Sealed Rust. They've surely got a hard road ahead, but there are some dedicated folks working on it.
How do you figure that? That seems highly counterintuitive.