John Reese - Thinking Outside the GIL with AsyncIO and Multiprocessing - PyCon 2018

  Рет қаралды 44,188

PyCon 2018

PyCon 2018

Күн бұрын

Пікірлер: 27
@Sousleek
@Sousleek 6 жыл бұрын
This video became a gold mine for me
@haritmohansaxena732
@haritmohansaxena732 4 жыл бұрын
at @5:55 , you know he is a great programmer when he says, his coworker 'JSON'.
@kosmonautofficial296
@kosmonautofficial296 2 жыл бұрын
awesome video! I am looking forward to trying this out with AsyncSSH
@lawrencedoliveiro9104
@lawrencedoliveiro9104 3 жыл бұрын
8:25 multiprocessing supports shared storage, but you cannot put arbitrary Python objects here, only ctypes objects.
@brambeer5591
@brambeer5591 5 жыл бұрын
This is great, thanks!
@xiaolu7988
@xiaolu7988 5 жыл бұрын
Can someone tell me what font he is using for his code, for example at 2:43 there?
@Yanonix
@Yanonix 5 жыл бұрын
Probably Hack: github.com/source-foundry/Hack
@n7cmdr
@n7cmdr 5 жыл бұрын
It's Fira Code: github.com/tonsky/FiraCode
@יהושעכץ-נ8ס
@יהושעכץ-נ8ס 5 жыл бұрын
great video well done
@lawrencedoliveiro9104
@lawrencedoliveiro9104 3 жыл бұрын
9:07 I have wondered about constructs like async def myfunc ... : return await «expr» which could be simplified to def myfunc ... : return «expr» Given that the caller expects an awaitable in either case, the behaviour is exactly the same.
@matts2298
@matts2298 Ай бұрын
Lol. No. Like you have missed the very point of asynchronity. Waiting for something is not the same as blocking the event loop during it. The async one does not block other tasks while waiting.
@SteelBlueVision
@SteelBlueVision 6 жыл бұрын
As usual the links to both the slides and speakerdeck point to nothing! Please fix this.
@DaLoler1
@DaLoler1 3 жыл бұрын
11:25
@mephistotel87
@mephistotel87 6 жыл бұрын
1. get_nowait() raises queue.Empty exception. How do you handle that? I don't see 2. In that case there will be raised exception from future in run_until_complete which will lead to terminating all application
@n7cmdr
@n7cmdr 6 жыл бұрын
Yes, I elided the exception handling in the slides for the sake of brevity, but the code in the aiomultiprocess library correctly handles the Empty exceptions. See github.com/jreese/aiomultiprocess/blob/master/aiomultiprocess/core.py for more details.
@dclxviclan
@dclxviclan 2 жыл бұрын
Hmm... i look this
@pynchia4119
@pynchia4119 4 жыл бұрын
Great library, well done! Just relax and learn to speak in public
@pourimow2630
@pourimow2630 4 жыл бұрын
Why jumping through so many hoops to use Python instead of using a better programming language?
@wlgrd7052
@wlgrd7052 3 жыл бұрын
Define "better"
@lawrencedoliveiro9104
@lawrencedoliveiro9104 3 жыл бұрын
I sense a straggler from the Java/C♯/PHP crowd ...
@kicknotes
@kicknotes 6 жыл бұрын
I really wish speakers would learn a bit more about speaking or practice for an objective listener (for feedback) before presenting. I know nerves can be a factor, but constant "ums" and "uhs" can really detract from a presentation. This was hard for me to watch as a result of that.
@checkerist
@checkerist 6 жыл бұрын
I haven't noticed this until reading your comment!
@therumbler
@therumbler 5 жыл бұрын
I really wish KZbin commenters would learn a bit more about communication or practice with an objective reader (for feedback) before commenting. I know they're just trying to give advice, but the condescending tone and odd passive aggressiveness can really distract from the message. This comment was hard to read as a result of that.
@trixn4285
@trixn4285 5 жыл бұрын
Well, yeah, is it possible that you don't understand the topic well enough to follow so you focused on the style of presentation rather than the content? Surely it wasn't exceptionally entertaining but totally fine and with high quality information. Didn't really notice the "ums" until reading your comment. You could be a bit more thankful for being provided with quality information for free.
Carl Meyer - Type-checked Python in the real world - PyCon 2018
32:10
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
"What is a Coroutine Anyway?" - John Reese (North Bay Python 2019)
30:27
North Bay Python
Рет қаралды 29 М.
Unlocking your CPU cores in Python (multiprocessing)
12:16
mCoding
Рет қаралды 314 М.
Lynn Root - Advanced asyncio: Solving Real-world Production Problems
40:02
EuroPython Conference
Рет қаралды 15 М.
Higher level Python asyncio with AnyIO - Talk Python to Me Ep.385
1:15:58
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН