Re:Cloudflare outage on December 5, 2025
by jpeter on Friday December 05, 2025 @10:39AM
(#46162723)
Unwrap() strikes again
[ Parent
| on HN ]
I guess you’re being facetious but for those who didn’t click through:
> This type of code error is prevented by languages with strong type systems. In our replacement for this code in our new FL2 proxy, which is written in Rust, the error did not occur.
Re:Cloudflare outage on December 5, 2025
by skywhopper on Friday December 05, 2025 @10:59AM
(#46163054)
That bit may be true, but the underlying error of a null reference that caused a panic was exactly the same in both incidents.
Re:Cloudflare outage on December 5, 2025
by roguecoder on Friday December 05, 2025 @02:15PM
(#46165918)
Yep: it is wild for them to claim that a strongly-typed language would have saved them when it didn't.
Relying on language features instead of writing code well will always eventually backfire.
You're right that you have to "write code well" to prevent this sort of thing. It's also true that Rust's language features, if you use them, can make this sort of mistake a compile-time error rather than something that only blows up at runtime under the wrong conditions. The problem with their last outage was that somebody explicitly opted out of the tool provided by the language. As you say, that's "not writing code well". But I think you're dismissing the value of the language feature in helping you write code well.
Re:Cloudflare outage on December 5, 2025
by rossjudson on Friday December 05, 2025 @08:40PM
(#46169742)
Relying on code ninja ego backfires way sooner, and way more often.
https://security.googleblog.com/2025/11/rust-in-android-move...
Re:Cloudflare outage on December 5, 2025
by throwawaymaths on Friday December 05, 2025 @10:41AM
(#46162749)
this time in lua. cloudflare can't catch a break
Re:Cloudflare outage on December 5, 2025
by RoyTyrell on Friday December 05, 2025 @10:45AM
(#46162801)
Or they're not thoroughly testing changes before pushing them out. As I've seen some others say, CloudFlare at this point should be considered critical infrastructure. Maybe not like power but dang close.
My power goes out every Wednesday around noon and normally if the weather is bad. In a major US metro.
I hope cloudflare is far more resilient than local power.
The 'rewrite it in lua' crowd are oddly silent now.
Re:Cloudflare outage on December 5, 2025
by barbazoo on Friday December 05, 2025 @10:55AM
(#46162982)
How do you know?
[dead]
Re:Cloudflare outage on December 5, 2025
by jcmfernandes on Friday December 05, 2025 @11:06AM
(#46163161)
Did you really go through the trouble of creating an account just to spit trash? Damn!
Time to use boring languages such as Java and Go.
Anyone knows why lua? Or is it perhaps as a redis script in lua?