C++17 : The Biggest Traps - Nicolai Josuttis [C++ on Sea 2019]

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 มิ.ย. 2024
  • cpponsea.uk
    C++17 is a huge combination of small new features both in the language and the library. These features have more poser but also more traps than you might expect. These traps are not theoretical. They already occur in real-world programming. This talk will list and discuss all these traps, explain the reasons for the underlying design, and give guidance how to deal with them. As a side effect you will learn a lot about some cool new features of C++17.
    ---
    Nicolai is an independent systems architect, technical manager, author, and consultant. He designs mid-sized and large software systems for the telecommunication, traffic, finance, and manufacturing industries. He is well known in the C++ Community for speaking and writing with authority about C++ (being the author of 'The C++ Standard Library', 'C++ Templates', and 'C++17 - The Complete Guide') but is also an innovative presenter. He is an active member of C++ standardization committee for more than 20 years now.
    cpponsea.uk/2019/sessions/cpp...
    Filmed and Edited by Digital Medium Ltd: events.digital-medium.co.uk
    Enquiries: events@digital-medium.co.uk
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    As I jumped from classic C++ 30 years ago into C++17, I find this talk highly interesting. I learned a lot

  • @mwont
    @mwont 5 ปีที่แล้ว

    Excellent talk! Learned lots. All Nicolai talks are useful.

  • @Voy2378
    @Voy2378 5 ปีที่แล้ว +2

    Knew a lot of this, but still some great new insights(fs, pmr, reduce)...

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

    Would it be possible to come up with standards that have fewer traps?

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

    did somebody learn something? - yes, indeed: go for somethng else...to me it seems C++ 14+ is a mess, only applicable for very advanced sw developers. (...messed up by too many extensions and enhancements beyond the initial design)

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

      Not at all. 14+ reduces the number of lines of code in your project even further.

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

      @@Newtube_Channel that has nothing to do with the language itself being too bloated.

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

      I agree. C++ is effectively two languages now. Someone needs to make a new spinoff of C++ that ONLY implements the "modern C++" stuff and fixes all the other crap. I might give Rust a try, it seems like a good language.

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

      @@pt8306 It is not because by your argument is _n_ languages pertaining to every different style of writing. You don't know what you're talking about.

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

      @@Newtube_Channel Cool. Now try expressing that as a sentence

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

    Look at the title of the video: "the biggest traps". The committee is doing a great job in making the syntax look more horrible and unnecessarily confusing at each iteration, hence the need for hordes of videos to explain this much gibberish. Why keep such an expressive language simple if such basic things like initialization can be overengineered and cause the problems discussed in the beginning, or the if/switch changes to use "new feature", nested curly braces junk and general fixes to things that were not broken? Thankfully Dijkstra is not seeing any of this.

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

      Your claim is well off the mark.

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

      C++ is used by simpletons who value cleverness over wisdom.

    • @TheMrKeksLp
      @TheMrKeksLp ปีที่แล้ว

      @@Newtube_Channel Please go watch some C++ Weekly videos and then tell me C++ isn't overengineered in every aspect

  • @makerofstartup7902
    @makerofstartup7902 5 ปีที่แล้ว +2

    Didn't liked it at all