At Open Source Bridge and PyGotham in 2015, I demonstrated that you can code a Python 3 async framework in about a half hour. I start the demo by writing a callback-based async framework, built on non-blocking sockets and a simple event loop. Then I adapt the framework to use generator-based coroutines, which are cleaner than callbacks but still more efficient than threads for async I/O.
For more information on this topic I've made you a page of links:
http://emptysqua.re/blog/links-for-ho...
Поделиться в:
Доступные форматы для скачивания:
Скачать видео mp4
Информация по загрузке:
Скачать аудио mp3
Похожие видео
array(10) {
[0]=>
object(stdClass)#5332 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "Qb9s3UiMSTA"
["related_video_title"]=>
string(33) "Asyncio in Python - Full Tutorial"
["posted_time"]=>
string(19) "1 год назад"
["channelName"]=>
string(13) "Tech With Tim"
}
[1]=>
object(stdClass)#5305 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "_AEJHKGk9ns"
["related_video_title"]=>
string(75) "Ned Batchelder - Facts and Myths about Python names and values - PyCon 2015"
["posted_time"]=>
string(20) "10 лет назад"
["channelName"]=>
string(10) "PyCon 2015"
}
[2]=>
object(stdClass)#5330 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "GSiZkP7cI80"
["related_video_title"]=>
string(66) ""What is a Coroutine Anyway?" - John Reese (North Bay Python 2019)"
["posted_time"]=>
string(19) "5 лет назад"
["channelName"]=>
string(16) "North Bay Python"
}
[3]=>
object(stdClass)#5337 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "YKXCRs_P-xU"
["related_video_title"]=>
string(121) "Использование Kafka в ваших python-приложениях [ru] / Александр Тарасенко"
["posted_time"]=>
string(19) "5 лет назад"
["channelName"]=>
string(6) "fwdays"
}
[4]=>
object(stdClass)#5316 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "u-OmVr_fT4s"
["related_video_title"]=>
string(60) "Python Functions | Python Tutorial for Absolute Beginners #1"
["posted_time"]=>
string(19) "6 лет назад"
["channelName"]=>
string(21) "Programming with Mosh"
}
[5]=>
object(stdClass)#5334 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "wjZofJX0v4M"
["related_video_title"]=>
string(148) "LLM и GPT - как работают большие языковые модели? Визуальное введение в трансформеры"
["posted_time"]=>
string(19) "1 год назад"
["channelName"]=>
string(11) "3Blue1Brown"
}
[6]=>
object(stdClass)#5329 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "3uPlWhnkR60"
["related_video_title"]=>
string(183) "РФ Применила Гром-Э1⚡Зирка Пала🔥 Первые Саперы Прибыли В Курскую Область🪖🚧 Военные Сводки 28.06.2025"
["posted_time"]=>
string(23) "5 часов назад"
["channelName"]=>
string(27) "Военные Сводки"
}
[7]=>
object(stdClass)#5339 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "tzYhv61piNY"
["related_video_title"]=>
string(98) ""See CPython run: Getting to know your Python interpreter" - James Bennett (North Bay Python 2019)"
["posted_time"]=>
string(19) "5 лет назад"
["channelName"]=>
string(16) "North Bay Python"
}
[8]=>
object(stdClass)#5315 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "52yhBkkulXw"
["related_video_title"]=>
string(30) "Математик и черт"
["posted_time"]=>
string(20) "13 лет назад"
["channelName"]=>
string(8) "SerCtrlX"
}
[9]=>
object(stdClass)#5333 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "iG6fr81xHKA"
["related_video_title"]=>
string(76) "Miguel Grinberg Asynchronous Python for the Complete Beginner PyCon 2017"
["posted_time"]=>
string(19) "8 лет назад"
["channelName"]=>
string(10) "PyCon 2017"
}
}