4 ms·
The problem is that multithreading is only rarely the best programming model. There's usually a different model that's easier to reason about which makes the b
by regularfry 5y ago
The problem is that multithreading is only rarely the best programming model. There's usually a different model that's easier to reason about which makes the behaviour you want easier to achieve. The implementation of that model might use threading under the hood, but abstracting that away is often the best thing to do.
It sounds like you've got a specific example in mind, though.