2 ms·
What go has isn't just, "locks or just do it in another process." Either that, or Erlang just has "locks or just do it in another process." What Rob Pike has
by stcredzero 17y ago
What go has isn't just, "locks or just do it in another process." Either that, or Erlang just has "locks or just do it in another process."
What Rob Pike has put into Go, he used in a previous language he developed called Newsqueak, which enabled him to write an entire GUI windowing system in one afternoon. That combination of shared-nothing concurrency and message passing is pretty darned powerful. In such a system, locks are there under the covers and are invisible to the programmer.
- runT1ME 17y agoI think you vastly over estimate how much a productivity boost 'shared nothing, message passing' concurrency adds. I've programmed a lot of both, and while shared nothing makes the easy stuff easier, it doesn't seem to make the hard locking problems any less hard. You still have to think about race conditions and deadlocks.