▲ | dismalaf 3 days ago | ||||||||||||||||||||||
There's not that many. C/C++ and Rust all map to OS threads and don't have CSP type concurrency built in. In Go's category, there's Java, Haskell, OCaml, Julia, Nim, Crystal, Pony... Dynamic languages are more likely to have green threads but aren't Go replacements. | |||||||||||||||||||||||
▲ | Jtsummers 3 days ago | parent | next [-] | ||||||||||||||||||||||
> There's not that many. You list three that don't, and then you go on to list seven languages that do. Yes, not many languages support concurrency like Go does... | |||||||||||||||||||||||
| |||||||||||||||||||||||
▲ | jen20 3 days ago | parent | prev [-] | ||||||||||||||||||||||
Erlang (or Elixir) are absolutely Go replacements for the types of software where CSP is likely important. Source: spent the last few weeks at work replacing a Go program with an Elixir one instead. I'd use Go again (without question) but it is not a panacea. It should be the default choice for CLI utilities and many servers, but the notion that it is the only usable language with something approximating CSP is idiotic. |