news.volyx.in

Volvo is using Rust for its in-vehicle software (medium.com)

529 points by georgehill · 1446 days ago · 339 comments on HN

Article summary

The article discusses Volvo's use of Rust for its in-vehicle software. However, the details of the article are not available, and the discussion is based on the comments. The comments suggest that Rust is being considered for use in the automotive industry, but its adoption for safety-critical components is still far away. The use of Rust in non-safety critical components, such as infotainment systems, is more likely.

Main themes

  • Rust in automotive industry
  • MISRA C limitations
  • Safety-critical systems
  • Language adoption
  • Open-source vs proprietary
  • Industry requirements
  • Developer skills and training

What commenters say

  • Rust's adoption in the automotive industry is driven by its potential for safety and correctness, but its popularity may also be due to its status as a new and trendy language.
  • MISRA C is often criticized for leading to absurd code and being overly restrictive, but it is still widely used in the industry.
  • Some commenters argue that Rust's compiler can replace some of the checks required by MISRA C, making it a more viable alternative.
  • The use of Rust in safety-critical components is still a long way off due to the lack of standardization and certification.
  • Ada is an alternative language that has been used in safety-critical systems, but its adoption is limited due to its proprietary nature and lack of accessibility.
  • The open-source nature of Rust has made it more accessible and viable for widespread adoption.
  • The automotive industry's requirements for safety and reliability may prioritize the use of established languages like C and C++ over newer languages like Rust.
  • The lack of skilled developers familiar with Ada is not a significant barrier to its adoption, as programmers can learn the language with relative ease.