[Python-ideas] How the heck does async/await work in Python 3.5
Tem Pl
rtempl31 at gmail.com
Wed Feb 24 09:39:29 EST 2016
Here are some concurrency benchmarks for python vs other languages.
https://github.com/atemerev/skynet/pull/53
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:
> https://pymotw.com/3/asyncio/index.html
>
> Victor
>
> 2016-02-23 22:25 GMT+01:00 Joao S. O. Bueno <jsb... at python.org.br
> <javascript:>>:
> > 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
> <javascript:>> wrote:
> >> On 20.02.2016 07:53, Christian Gollwitzer wrote:
> >>
> >> If you have difficulties wit hthe overall concept, and if you are open
> to
> >> discussions in another language, take a look at this video:
> >>
> >>
> https://channel9.msdn.com/Shows/C9-GoingNative/GoingNative-39-await-co-routines
> >>
> >> MS has added coroutine support with very similar syntax to VC++
> recently,
> >> and the developer tries to explain it to the "stackful" programmers.
> >>
> >>
> >> Because of this thread, I finally finished an older post collecting
> valuable
> >> insights from last year discussions regarding concurrency modules
> available
> >> 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
> meant
> >> to result in something useful. I hope the post covers the essence of
> the
> >> 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
> >> Python... at python.org <javascript:>
> >> https://mail.python.org/mailman/listinfo/python-ideas
> >> Code of Conduct: http://python.org/psf/codeofconduct/
> > _______________________________________________
> > Python-ideas mailing list
> > Python... at python.org <javascript:>
> > https://mail.python.org/mailman/listinfo/python-ideas
> > Code of Conduct: http://python.org/psf/codeofconduct/
> _______________________________________________
> Python-ideas mailing list
> Python... at python.org <javascript:>
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
More information about the Python-list
mailing list