An Overview of Standard Ranges - Tristan Brindle - CppCon 2019

Sdílet
Vložit
  • čas přidán 28. 09. 2019
  • CppCon.org
    Discussion & Comments: / cpp
    Presentation Slides, PDFs, Source Code and other presenter materials are available at: github.com/CppCon/CppCon2019
    -
    An Overview of Standard Ranges
    The ranges revolution is nearly upon us! C++20 will include concept-enabled, range-based versions of all the standard algorithms you know and love, as well as new “views” which can transform the way you write code. In this talk we’ll offer an overview of the ranges features currently in the C++20 draft, with examples of how you can use them to reduce verbosity, avoid bugs and improve the correctness of your code, and in some cases get better performance. We’ll also cover the currently-available ranges implementations that you can use today, without having to wait for the next version of the standard.
    If you've heard the buzz around ranges and are wondering what they'll bring and how they'll benefit your code-base, then this is the talk for you.
    -
    Tristan Brindle
    Tristan is a freelance developer, C++ trainer and BSI committee member based in London. He’s the author of NanoRange, a C++14-compatible Ranges implementation, and lead tutor for C++ London Uni, a not-for-profit organisation offering free weekly C++ classes for students in London and around the world.
    -
    Videos Filmed & Edited by Bash Films: www.BashFilms.com
    *-----*
    Register Now For CppCon 2022: cppcon.org/registration/
    *-----*
  • Věda a technologie

Komentáře • 10

  • @code_report
    @code_report Před 4 lety +28

    Probably the best introduction (video or blog) to C++ 20 Ranges I have seen! Great talk Tristan.

  • @SkittleNibble
    @SkittleNibble Před 3 lety +6

    Awesome stuff, had only seen view adaptors in the few posts about ranges - so understanding all the other things around it was a super good surprise!

  • @KhalilEstell
    @KhalilEstell Před 4 lety +6

    Fantastic overview. I can't wait for ranges! So cool!

  • @TheMR-777
    @TheMR-777 Před 2 lety +3

    Thank you for such a Great Talk about it.
    I was also hopeful to see the comment of Eric Niebler here

  • @fzort
    @fzort Před 4 lety +2

    Excellent overview, thank you!

  • @mmocny
    @mmocny Před 4 lety +3

    Fantastic overview! Thanks.

  • @ericschiesser743
    @ericschiesser743 Před 3 lety +6

    6:55 "...barring an absolute disaster..." *COVID-19 happens*
    And yet, it is in the standard :)

  • @syntaxed2
    @syntaxed2 Před 2 lety +1

    Arent concepts like Rust traits?

  • @siyachieng666
    @siyachieng666 Před rokem +1

    Well, time goes on, C++ learning curve gradually become ridiculously difficult for beginners.🤣

    • @keshkek
      @keshkek Před rokem +2

      You need only to learn about ranges library conventions. It's about few hours. And this you need to do one time in three years (C++17/20/23 etc). So you want to tell learning python standard libraries is about 30 years or something?