C++ Coroutine Intuition - Roi Barkan - CppNow 2023

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

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

  • @Roibarkan
    @Roibarkan ปีที่แล้ว +3

    20:30 the image in slide 13 was taken/borrowed from an awesome talk by Kevlin Henney. th-cam.com/video/s2zELGvNlbA/w-d-xo.htmlh4m12s

    • @KX36
      @KX36 2 หลายเดือนก่อน

      Thanks. I tried to find this from the info in the video but couldn't.
      I was hoping Kevlin had some different angle on coroutines that would make them more understandable but unfortunately not in that talk.

  • @brynyard
    @brynyard 10 หลายเดือนก่อน +4

    Very good overview of coroutines, but a lot of the questions underway should've been suspended as the answer was just a couple of slides down the line, and yet others was on a completely different tangent/world/fantasy concept, and as such just big distraction from the otherwise well structured talk.

    • @KX36
      @KX36 2 หลายเดือนก่อน

      I think the middle of the talk would be great separated out and slowed down into an intermediate level talk for people who already know the structure and basic use of coroutines and std::generator. The live audience of this talk seemed to require a more introductory talk first.

  • @Roibarkan
    @Roibarkan ปีที่แล้ว +4

    54:12 Excuse the English - I guess ‘aspirational’ is a better phrasing than ‘inspirational’

    • @randall172
      @randall172 10 หลายเดือนก่อน

      would python's asyncio be a good start pointt for gaining an intuition on coroutines?

    • @Roibarkan
      @Roibarkan 10 หลายเดือนก่อน

      I’m not an expert on python. My brief understanding is that python asyncio is somewhat more high-level than c++ coroutines, and thus python coroutines are probably easier to work with, but potentially less flexible. If one is accustomed to python coroutines- they can be sure that the same model can be done in c++ (and I would look at the asio library and cppcoro as starting points). I do not think that python asyncio supports symmetric transfer, for example, but I’m not sure. Thanks for the question