Petr Viktorin: Building an async event loop

preview_player
Показать описание
Using an event loop (with frameworks like asyncio and trio for network services, or PyQt or GTK for GUI applications) is not that hard once you “get” the concept, but it does take some time and thought to get to that point. The usual async tutorials focus on how to use it and what you can do. This session explores a different angle: I'll build an event loop and a time-based scheduler from scratch, explaining the concept on actual code. This is a live coding session and isn't suitable for beginners. To follow along, you will need some experience reading (and writing) classes, functions and loops.
Рекомендации по теме
Комментарии
Автор

at 8:14, shouldn't the run trigger the while loop and this should do the blinking already?

rakeshmali
Автор

also at 14:18, numbers are same for all rows, i.e. 1597 for all iteration. also if the maximum is 1000 for both, why are the values different? i.e. 1597 and 987

rakeshmali