[Python-ideas] How the heck does async/await work in Python 3.5
rtempl31 at gmail.com
Wed Feb 24 09:39:29 EST 2016
Here are some concurrency benchmarks for python vs other languages.
Is there something wrong with this implementation?
"Hope I suck at coroutines, because the results are abysmal.
I get around 63s on my i5 MacBook Air Early 2015. For reference, the go
version got around 700ms with GOMAXPROCS=4 and 1.7s with GOMAXPROCS=1 on
this same machine."
On Wednesday, February 24, 2016 at 5:02:16 AM UTC-5, Victor Stinner wrote:
> See also Doug Hellmann article on asyncio, from its serie of "Python 3
> Module of the Week" articles:
> 2016-02-23 22:25 GMT+01:00 Joao S. O. Bueno <jsb... at python.org.br
> > Today I also stumbled on this helpful "essay" from Brett Cannon about
> > the same subject
> > http://www.snarky.ca/how-the-heck-does-async-await-work-in-python-3-5
> > On 23 February 2016 at 18:05, Sven R. Kunze <srk... at mail.de
> >> On 20.02.2016 07:53, Christian Gollwitzer wrote:
> >> If you have difficulties wit hthe overall concept, and if you are open
> >> discussions in another language, take a look at this video:
> >> MS has added coroutine support with very similar syntax to VC++
> >> and the developer tries to explain it to the "stackful" programmers.
> >> Because of this thread, I finally finished an older post collecting
> >> insights from last year discussions regarding concurrency modules
> >> in Python:
> http://srkunze.blogspot.com/2016/02/concurrency-in-python.html It
> >> appears to me that it would fit here well.
> >> @python-ideas
> >> Back then, the old thread ("Concurrency Modules") was like basically
> >> to result in something useful. I hope the post covers the essence of
> >> discussion.
> >> Some even suggested putting the table into the Python docs. I am
> unaware of
> >> the formal procedure here but I would be glad if somebody could point
> be at
> >> the right direction if that the survey table is wanted in the docs.
> >> Best,
> >> Sven
> >> _______________________________________________
> >> Python-ideas mailing list
> >> https://mail.python.org/mailman/listinfo/python-ideas
> >> Code of Conduct: http://python.org/psf/codeofconduct/
> > _______________________________________________
> > Python-ideas mailing list
> > https://mail.python.org/mailman/listinfo/python-ideas
> > Code of Conduct: http://python.org/psf/codeofconduct/
> Python-ideas mailing list
> Code of Conduct: http://python.org/psf/codeofconduct/
More information about the Python-list