3 ms·
The important question is: how can humans correctly write concurrent code? We think of "threads" as one of the options. The thing is that we've mostly been us
by divtxt 15y ago
The important question is: how can humans correctly write concurrent code?
We think of "threads" as one of the options. The thing is that we've mostly been using threads with locks (e.g. Java), and slide #3 points out where we have gone wrong:
Drawbacks of threads
...
Drawbacks of events
...
Actually drawbacks of locks and top-level select loops!
In fact, it is "locks" that humans have trouble with.
Note the title of the presentation - Threads without Locks - suggesting another option. (as others have noted, this presentation describes Go, and I personally believe this is why Go will do well)
edit: wording, formatting