ELI5, how are car computers able to be as reliable as they are?
Modern cars use computers to control all sorts of things, such as how much acceleration to give when you press the gas pedal, smart detection of needing to do an emergency stop, steering assist, etc. I use computers for a living, and it's not too uncommon for them to have various little issues... such as the screen freezing up for just a second, a program freezing, and full-on crashes that require a reboot.
How do car computers prevent things like this from happening? It seems like a small glitch comparable to the issues I experience on my PC could cause something like the breaks to suddenly slam on by themselves, or me pressing the gas pedal and it taking a full second to actually respond.
My best guess is that it's mostly about them being very specialized computers; they only know how to do the specific things they need to do to control the car. But what else is there that adds so much reliability?