2016 LLVM Developers’ Meeting: G. Nishanov “LLVM Coroutines”

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ส.ค. 2024

ความคิดเห็น • 5

  • @aleksay2142
    @aleksay2142 7 ปีที่แล้ว +1

    thx a lot for this presentation, cool explanation of coroutines.

  • @miketag4499
    @miketag4499 3 ปีที่แล้ว

    Amazing video. Thanks for sharing.

  • @gavinchou3022
    @gavinchou3022 5 ปีที่แล้ว

    Nicw talk. This talk is about c++ coroutine on the compiler-level.
    Audiance may need some knowledge about how to use coroutine and some basic concept about c++ coroutine first.

  • @_Huperniketes_
    @_Huperniketes_ 7 ปีที่แล้ว

    Is a transcript available for this video?

  • @AlexBaraba
    @AlexBaraba 2 ปีที่แล้ว +1

    Lazy evaluation. Cool trick.
    Until now i was calling this concept generators, like we have in python. Not used much in python world. Generator should be asymetric coroutine limited to one function body. This is same as javascript async&await - also not called coroutines.
    Highly recomend trying out Lua coroutines, which are symetric(allows to switch to any other coro not only yield to caller), also not limited to single function body.
    I got spoiled by Lua coroutines and it really bothers me now when someone mistakes simple generators for coroutines.
    With coroutines + simple scheduler you can have cooperative threading thingy with all positive threading stuff and none of negative stuff - no mutexes.
    Just finding out a lot of conflict in c++ coroutine discussions. Feels like if current c++20 coroutine was just renamed to generators everyone would get along.