3 ms·
Sounds about right :) Just wanted to touch on one point. Golang also has shared memory, even though it encourages sharing by communicating. In Erlang you don't
by Skinney 6y ago
Sounds about right :)
Just wanted to touch on one point. Golang also has shared memory, even though it encourages sharing by communicating. In Erlang you don't have a choice. Golang also doesn't have something like supervision trees (threads that die and restart together). So in practice golang and erlang concurrency is very different.
- eggsnbacon1 6y agoInteresting, so Golang channels are basically a hybrid between the two approaches. I envy Rust and its borrow checker. Its a pain to get used to, but enables "shared when you say it is" concurrency model with no overhead. No message passing overhead, optional but safe mutability, no data corruption possibility, zero copy basically everywhere