Re:I wasted weeks hand optimizing assembly because I benchma...
by 0xffany on Thursday July 24, 2025 @04:07PM
(#44675407)
Also on the topic of missiles, it reminded me of Raymond Chen's classic Null Garbage Collector
https://devblogs.microsoft.com/oldnewthing/20180228-00/?p=98...
Re:I wasted weeks hand optimizing assembly because I benchma...
by peterfirefly on Thursday July 24, 2025 @02:55PM
(#44674632)
Re:I wasted weeks hand optimizing assembly because I benchma...
by scottlamb on Thursday July 24, 2025 @03:05PM
(#44674736)
I interpret that write-up to mean the daily reboot was a temporary user-suggested workaround for a bug discovered in the field, rather than something in the product specs from the beginning. And it makes more sense to me that no one realized the errors would accumulate or thought to test long operation in general than it would for them to have explicitly said it wasn't important.
Re:I wasted weeks hand optimizing assembly because I benchma...
by wrs on Thursday July 24, 2025 @03:35PM
(#44675052)
Kind of like nobody thought to see what happened if Windows 95 managed to stay up for over 49.7 days [0], only deadlier.
[0] https://www.cnet.com/culture/windows-may-crash-after-49-7-da...
Re:I wasted weeks hand optimizing assembly because I benchma...
by scottlamb on Thursday July 24, 2025 @02:45PM
(#44674507)
> Reminded of that missile defense system that was designed to be software-reset once a day, except the design assumptions changed (a war started) and it was ordered to be left running nonstop, as an emergency measure
I'm sure you've simplified the story, but it seems like a bit of process failure for a missile defense system to assume peacetime. There's writing software that implements the requirements, and then there's making sure the requirements are right both up front and when you really rely on them in a critical way.
Reminded of that missile defense system that was designed to be software-reset once a day, except the design assumptions changed (a war started) and it was ordered to be left running nonstop, as an emergency measure; after being left on for a week, failed, causing a large number of deaths. That one had some kind of integrator that accumulated floating-point roundoff over time.