|
|
|
|
|
by apta
2605 days ago
|
|
> the point is that it's far from clear that Java etc. are superior in every way, certainly for some use cases. Once Java gets fibers, its concurrency offerings will be a strict superset of golang's. golang doesn't even offer event based async concurrency. > Also, CSP is not the only way of doing concurrency in Go. The standard shared variable model with mutexes is supported as well, just not preffered. golang doesn't even have concurrent data structures. So it's either CSP or mutexes, both not ideal for high performance code. |
|
Kotlin does that today and I like Kotlin, however the fact is that the class-everywhere Java approach just doesn't sync with me. Go's and Rust approach to OO with value-based types (structs) suits me much better.
> golang doesn't even have concurrent data structures
Not strictly true. It does have sync.Map There's also 3rd party packages offering this.