Re:Are we shooting ourselves in the foot with stack overflows?
by XorNot on Tuesday February 18, 2014 @09:41AM
(#7258284)
Except in a modern car the effect would be the vehicle stops accelerating and starts coasting - brakes and steering are mechanically connected, so in the event of no control system the default situation is safe.
The missing bit is generally that if it fails, it needs to set a note that it should not resume normal operations.
Re:Are we shooting ourselves in the foot with stack overflows?
by sitkack on Tuesday February 18, 2014 @10:53AM
(#7258732)
If it keeps failing, then the car does not function and it gets towed to a repair shop. It could be failing for completely valid reasons, not just a programming error. Failure is a expected, we need to account for it.
Then it fails again. Resets again. Fails again...
It may be preferable to restart, but in many failure scenarios, if the source of the failure is unknown, it is not a given that you'll be able to restart cleanly again.
I agree that failing fast to an extent is preferable, but that too requires careful testing and consideration.