2 ms·
Goroutine, pointers vs value, cancelling work in goroutines, avoid dead locks. What makes go powerful also make it weak. In general the complexity need to liv
by siscia 4y ago
Goroutine, pointers vs value, cancelling work in goroutines, avoid dead locks.
What makes go powerful also make it weak.
In general the complexity need to live somewhere and in go it can only be the code itself as the language is too simple.
- ainar-g 4y agoThe difference between pointers/references and values is there in most languages in the same ilk as Go, maybe with the exception of Java. (C# has structs, which are value types.) It's a concept pretty much any developer in that area must know. As for concurrency, that topic is hard in pretty much any mainstream language. Maybe with the exception of Rust, but Rust isn't exactly a langauge that is not “hard to master”, and even Rust doesn't protect you from all forms of concurrency issues. Merely most of them, heh.