Русские видео

Сейчас в тренде

Иностранные видео


Скачать с ютуб JuliaCon 2020 | Continuables.jl: Python yield in Julia in blazingly fast | Stephan Sahm в хорошем качестве

JuliaCon 2020 | Continuables.jl: Python yield in Julia in blazingly fast | Stephan Sahm 4 года назад


Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса savevideohd.ru



JuliaCon 2020 | Continuables.jl: Python yield in Julia in blazingly fast | Stephan Sahm

When coming from Python (or C#) you may be like me and love using generators yield a lot. Of course I wanted to have this in Julia, too, and wanted it to be blazingly fast. Unfortunately, the recommended approach using Julia Channels is everything else but super fast. That motivated me to build a solution which in many cases can compile down to perfect machine code: Continuables.jl. I want to present you the simple idea behind Continuables.jl, to interprete yield as withhold computation. Continuables.jl lets you define a generator with @cont and use cont() as the new yield. "cont" stands for continue, which hints at the implementation: A continuable simply expects a function which it can use as the cont() placeholder. With this basic idea (plus some details) you get many of the standard iterable functionalities and the code compiles perfectly. Time Stamps: 00:00 Welcome! 00:10 Help us add time stamps or captions to this video! See the description for details. Want to help add timestamps to our YouTube videos to help with discoverability? Find out more here: https://github.com/JuliaCommunity/You... Interested in improving the auto generated captions? Get involved here: https://github.com/JuliaCommunity/You...

Comments