Главная
Study mode:
on
1
Intro
2
What is asyncio anyway?
3
Definitions #1
4
The Lucas sequence
5
A linear search
6
Cooperative linear search
7
A primality testing function
8
Filter and print coroutine
9
Print a message at intervals
10
Delegating to coroutines
11
Refactoring - extract coroutine
12
Coroutines versus Coroutine Objects
13
Creating Tasks
14
Waiting for tasks
15
Event loops
16
Round-robin scheduler
17
Layered abstractions for asyncio
Description:
Explore the world of asynchronous programming in Python with this comprehensive conference talk. Dive into the asyncio module introduced in Python 3.4 and learn about its key components, including futures, tasks, protocols, transports, and event loops. Discover how Python 3.5's async and await keywords simplify coroutine-based programming, and examine the additional asynchronous features added in Python 3.6. Through practical examples and demonstrations, gain insights into solving concurrency problems effectively using asyncio. Understand the Lucas sequence, cooperative linear search, primality testing, and coroutine delegation. Explore the differences between coroutines and coroutine objects, learn to create and manage tasks, and grasp the concept of event loops. Acquire valuable knowledge on testing asynchronous Python code and refactoring techniques. By the end of this 59-minute talk, master the fundamentals of asyncio and enhance your Python programming skills for handling concurrent operations efficiently. Read more

Get to Grips with Asyncio in Python 3

NDC Conferences
Add to list