An Overview of Standard Ranges - Tristan Brindle - CppCon 2019

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ส.ค. 2024
  • CppCon.org
    Discussion & Comments: / cpp
    Presentation Slides, PDFs, Source Code and other presenter materials are available at: github.com/Cpp...
    -
    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/reg...
    *-----*

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

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

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

  • @SkittleNibble
    @SkittleNibble 4 ปีที่แล้ว +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 4 ปีที่แล้ว +6

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

  • @TheMR-777
    @TheMR-777 3 ปีที่แล้ว +3

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

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

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

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

    Fantastic overview! Thanks.

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

    Excellent overview, thank you!

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

    Arent concepts like Rust traits?

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

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

    • @keshkek
      @keshkek ปีที่แล้ว +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?