Re:Volvo is using Rust for its in-vehicle software
by hcarvalhoalves on Saturday September 24, 2022 @09:23AM
(#32962358)
It’s so f**ing stupid we’re discussing memory leak or concurrency issues of a TURN SIGNAL. I’m never buying a car from the 2020’s.
Re:Volvo is using Rust for its in-vehicle software
by jeffrallen on Saturday September 24, 2022 @12:14PM
(#32964038)
People who say "fearless concurrency" have clearly never debugged a bad concurrency problem. Those strike fear into the heart of any honest hacker, and no amount of nagging from the compiler or good marketing can make concurrency fearless.
I understand what the marketing means. But grep your codebase and dependencies for "unsafe"... That should put paid to your fearlessness.
Re:Volvo is using Rust for its in-vehicle software
by lenkite on Saturday September 24, 2022 @08:24AM
(#32961855)
memory safe - correct. But "fearless concurrency" is mostly plain propaganda. Lots of deadlockable code in Rust. You still need to pay close attention to structuring code for concurrency and some libs are deadlock prone in async.
In this case, the older blinks are possibly not deallocated and slow down the processing of newer blinks. Fortunately automotive software has all sorts of watchdogs and at some point the blink watchdog must kick in and it kills the blink manager which is then restarted and it processes the blink queue in quick succession.