News for hackers. Stuff that matters.
Re:Volvo is using Rust for its in-vehicle software by psychphysic on Saturday September 24, 2022 @05:26PM (#32966663)
I'm sure you're much more knowledgeable than me about Rust at least.

Still based on my experience reading early Redox code it was chock full of unsafe blocks, and I suspect they didn't do that out of malice but to expedite development.

So the risk might still be there.

Re:Volvo is using Rust for its in-vehicle software by steveklabnik on Saturday September 24, 2022 @05:30PM (#32966686)
Redox: “ A quick grep gives us some stats: the kernel has about 300 invocations of unsafe in about 16,000 lines of code overall.”

https://doc.redox-os.org/book/ch01-07-why-rust.html

This is probably not an up to date number but it gives you some idea of a random snapshot in time at least.

Re:Volvo is using Rust for its in-vehicle software by psychphysic on Saturday September 24, 2022 @06:19PM (#32967052)
Well if I knew less than the last guy I'm defo beat here :)

Would be interesting to see what those figures were like 5 years ago (i.e. a year or so after its initial release). It seems like the concern here is that embedded Dev for cars isn't getting getting to maturity.