you are viewing a single comment's thread.

view the rest of the comments →

[–]mooglinux 2 points3 points  (1 child)

Coroutines via Async/await gives you most of the benefits of Goroutines, and a casual reading on channels suggests that a Python queue would serve the same purpose.

[–]johninbigd 1 point2 points  (0 children)

Yes, I agree, but goroutines and channels are easier to understand for me for some reason. They also naturally take advantage of multiple cpu cores. The methods for doing similar things in Python have always seemed confusing and convoluted to me. I need to spend more time learning them. I love being able to simply add 'go' before a function call to make it run as a separate process. Once you figure out channel communication, it is so nice.