But when I'm not connected to an SMB drive, I don't think I've had a single crash in years.
I have no idea if it's something in the SMB driver itself that's crashing, or assumptions inside of application logic that fail in certain SMB scenarios.
But when I'm not connected to an SMB drive, I don't think I've had a single crash in years.
I have no idea if it's something in the SMB driver itself that's crashing, or assumptions inside of application logic that fail in certain SMB scenarios.
All io access needs to be recoverable or catchable for your app not to crash. You’d be surprised how much background fs activity there can be in apps (or indirectly triggered by apps!) all the time.
I'm building a macos app now, and only because I wasn't catching fs access error did I realize I needed to handle folder access carefully when using bookmarks in core data.
So many areas where rust makes me deal with a result or option that are easy to take for granted. It’s a strong reminder of the number of things we should be treating as possible error cases
And when the crash happens, it’s obvious why
But from a dev perspective, that's probably a driver level issue because that's where you want to handle or propagate errors instead of crashing.