C++23 Ranges: Conceptual Changes and Useful Practicalities - Dvir Yitzchaki - ACCU 2023

Sdílet
Vložit
  • čas přidán 5. 06. 2024
  • ACCU Membership: tinyurl.com/ydnfkcyn
    Sponsored By think-cell: www.think-cell.com/accu
    accu.org
    C++23 Ranges: Functional Programming With New View Adaptors and Other Utilities - Dvir Yitzchaki - ACCU 2023
    Slides: accu.org/conf-previous/accu2023/
    Being introduced to C++20, ranges changed the way we write code. C++23 not only brings with it a large pile of new utilities but actually introduces a fundamental change to one of the core concepts in the ranges world - the view.
    Absurd as it sounds, views can now also own their elements while still being cheap to pass around. This talk will explain how that works as well as describe the most useful algorithms and adaptors we can now take advantage of, like using `std::generator` to implement range adaptors, printing ranges, or even using the new `std::optional` monadic interface.
    ---
    Dvir Yitzchaki
    A Senior Software Engineer at Roku Inc. Member of the Israel National Body for WG21.
    ---
    www.accuconference.org/
    CZcams Videos Filmed, Edited & Optimised by Digital Medium: events.digital-medium.co.uk
    #accuconf #programming #cpp
  • Věda a technologie

Komentáře • 3

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

    Great talk!

  • @ahmedhelmy6235
    @ahmedhelmy6235 Před 11 měsíci

    This was great and it would be great to show off the new features with C++23

  • @simonfarre4907
    @simonfarre4907 Před 11 měsíci +3

    Ranges is cool and all but views are still in an absolute terrible state, on clang. Its better on gcc but still. 3 years and still not working.