...maybe? I mean, if this is about malformed input data, theoretically your parser should detect that and do something about it. If the data is malformed in a way you don't expect, crashing may be the best option.
-
-
-
The problem is that what it crashes is SpringBoard. i.e. the home screen. This bricks the phone.
- 5 more replies
New conversation -
-
-
Or use more processes. The equivalent macOS code lives in a daemon
-
Erlang time baby
End of conversation
New conversation -
-
-
isn't this more a story about why fallible operations on untrusted input should have smooth error handling
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
It's not like you can always recover from a panic.Ok, maybe in Rust but in Springboard a crash is most likely a memory corruption so there are no guarantees at that point.Maybe a better safe mode is required where external data is not processed.Or a fine grained data wipe.Tricky.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
- End of conversation
New conversation -
-
That’s why Go is going to support `try`
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.