C++ Coroutine Intuition - Roi Barkan - CppNow 2023

Sdílet
Vložit
  • čas přidán 14. 05. 2024
  • www.cppnow.org​
    / cppnow
    ---
    C++ Coroutine Intuition - Roi Barkan - CppNow 2023
    Slides: github.com/boostcon
    ---
    As one of the 'big four' new additions to C++20, coroutines allow us to rethink how we design and architect our functions, systems and code.
    With no initial support in the STL, many of us are still hesitant to embrace coroutines and consider how to effectively use them to improve the readability, maintainability and composability of our creations.
    In this talk, I'll explore and explain topics like stackless, cooperative asyncrony, generators and senders/receivers. Through many concise and different examples of coroutine usage, we'll gain intuition on which types of problems can elegantly be solved with coroutines, and how such solutions can lead to cleaner, safer code.
    ---
    Roi Barkan
    Professional software developer and architect since 2000, Roi's main focus throughout his career was on high performance and distributed systems, implementing complex and innovative algorithms. Roi has been the VP technologies of Istra Research since 2014, where he helps creating low latency financial systems. Prior to working for Istra Research, Roi spent 12 years in software development, architecture and management in the IT Security field. Roi received his B.A in Computer Science with high honors from the Technion in Israel, and his executive MBA from Tel Aviv University.
    ---
    Video Sponsors: think-cell and Bloomberg Engineering
    Audience Audio Sponsors: Innoplex and Maryland Research Institute
    ---
    Videos Filmed & Edited By Bash Films: bashfilms.com/
    CZcams Channel Managed & Optimized By Digital Medium Ltd: events.digital-medium.co.uk
    ---
    CppNow 2024
    www.cppnow.org​
    / cppnow
    ---
    #boost #cpp #cppprogramming
  • Věda a technologie

Komentáře • 5

  • @Roibarkan
    @Roibarkan Před 9 měsíci +2

    20:30 the image in slide 13 was taken/borrowed from an awesome talk by Kevlin Henney. czcams.com/video/s2zELGvNlbA/video.htmlh4m12s

  • @brynyard
    @brynyard Před 6 měsíci +3

    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.

  • @Roibarkan
    @Roibarkan Před 9 měsíci +4

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

    • @randall172
      @randall172 Před 7 měsíci

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

    • @Roibarkan
      @Roibarkan Před 6 měsíci

      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