the kernel continues to get inundated with memory safety bugs that no amount of infrastructure, testing, code review, etc is catching.
I'd say this is the issue to fix. It's not easy but if anything curl has proven it can be done efficiently.
Compilers follow specs and in some cases you can have undefined behavior. You can and should use compiler flags but should complement that with good programming practices (e.g. TDD) and other tools in your pipeline (such as valgrind).
The kernel is mostly written in C, by C developers... understandably they're rather refactor C code to make it better instead of rewritting everything in the current fancy language that'll save the world this time (especially considering proponents of said language always, at every chance they get, sell it as C is crap, this is better).
Linux is over 30yo and keeps getting better and more stable, that's the power of open-source.
When those things are on wheels, though....
Most cars nowadays, EV or not, are cloud-connected and designed with build-in obsolescence.
additional purchase
😂 people pay to be guinea pigs? Wow...
because they have a long life
Not as long as it could be and that's intentional. My '97 piece of crap will outlive most EVs anv even most new ICEs.
That's cool and scary but it also (mostly) applies to most new ICE cars as well.
The VW Beetle, among many others, would like a word.
EV batteries aren't as easy to make as most ICE parts.