by kreshikhin · 11y ago · 0 comments
It's controversial statement.
Generators, greenlets, deferreds, and futures, it's all not great concurrency primitives definitely. It's okay for typical "python" tasks, but many applications have needs in more powerful solutions like golang channels for example.
Channels can be instantiated, goroutines cannot.
Correct me if I'm wrong please.
In the world of concurrency you could probably even call goroutines an abstraction but goroutines are at least closer to the fundamental concurrency primitives such as threads, locks, mutexes and tasks/coroutines/whatever.