SorteKanin

joined 3 years ago
MODERATOR OF
[–] SorteKanin@feddit.dk 8 points 2 days ago (1 children)

So basically the problem is bus factor = 1 and that one person is often away from the hardware and not able to remote in.

This has been happening for a long time it sounds like? This is very unfortunate but really could've been avoided with some planning it feels like.

[–] SorteKanin@feddit.dk 1 points 2 days ago

If a process crashes while holding a robust mutex, it’s possible to recover from such a situation.

But that's the whole point of poisoning too. If a different thread crashed and the mutex is poisoned, you can recover in a different thread. Most applications choose not to recover and chooses to just panic again, but you can choose to recover.

[–] SorteKanin@feddit.dk 5 points 2 days ago
[–] SorteKanin@feddit.dk 2 points 2 days ago

Fair enough, but I think that's ignoring a lot of what the video is actually about. But you do you.

[–] SorteKanin@feddit.dk 1 points 2 days ago (3 children)

I reject the premise

The ad I can understand, but the premise? Care to elaborate?

[–] SorteKanin@feddit.dk 2 points 2 days ago (1 children)

Yes? I think I am done with this conversation. If you don't think this is a problem, we just disagree. Just move on, you don't have to convince everyone else who's been discussing this problem for years that it isn't a problem.

[–] SorteKanin@feddit.dk 3 points 2 days ago

A proper dad joke is a joke that a dad can tell their small children - i.e. it must be innocent, not a dirty joke.

An uncle however might often be mischievous and tell a dirty joke to their nephew or niece anyway, for the lols.

[–] SorteKanin@feddit.dk 2 points 3 days ago

Same, literally never heard the word. Thought it was just a misspelling.

[–] SorteKanin@feddit.dk 2 points 3 days ago (1 children)

Panics in Rust default to stack unwinding, which I believe is similar to how exceptions work in C++. I don't believe an unhandled exception in C++ kills other threads either? Could be wrong.

Panics can also be configured to instead abort the process immediately, which is the exit(status) way. Obviously with that solution you can never observe a poisoned mutex so you would never need a poisoning mutex in that situation anyway.

[–] SorteKanin@feddit.dk 1 points 3 days ago (3 children)

I already told you, convenience, developer experience. Ergonomics basically. None of this is fixed by some code snippet, whether it's an extension trait or wrapper type. That just makes things worse. This has nothing to do with performance, as I already said.

view more: next ›