Lightning Talk: Your Favorite Undefined Behavior in C++ - JF Bastien - CppNow 2023

Sdílet
Vložit
  • čas přidán 18. 09. 2023
  • www.cppnow.org​
    / cppnow
    ---
    Lightning Talk: Your Favorite Undefined Behavior in C++ - JF Bastien - CppNow 2023
    ---
    You tell me.
    ---
    JF Bastien
    JF is chief architect at Woven by Toyota. He chairs the evolution of the C++ programming language. JF has worked on a variety of compilers for a variety of programming languages, implementing language features, improving performance / security / safety, targeting novel architectures, and other fun things. See jfbastien.com.
    ---
    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 • 14

  • @tamirbahar
    @tamirbahar Před 8 měsíci +7

    The fact that multiplying unsigned shorts may result in a signed-int overflow is truly lovely.

  • @DedmenMiller
    @DedmenMiller Před 8 měsíci +3

    15:04... That is amazing. I was troubleshooting why after we updated our linux compiler, our game had weird unexplainable behavior.. the compiler optimized it away :D

  • @WilhelmDrake
    @WilhelmDrake Před 8 měsíci +6

    It would be nice if one could hear the audience discussion.

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

    I like that half of the undefined behavior from c++ is actually defined on most compilers on all the platforms that matters.

  • @tslivede
    @tslivede Před 7 měsíci +1

    9:10 The (great) question on stackoverflow by James McNellis is called "Why is this program erroneously rejected by three C++ compilers?"

  • @__hannibaalbarca__
    @__hannibaalbarca__ Před 8 měsíci

    UB this is best part in C/C++.

  • @gabrielaubut-lussier1668
    @gabrielaubut-lussier1668 Před 8 měsíci +1

    I don't believe I heard anyone mentioning ODR violations!

  • @ajtan2607
    @ajtan2607 Před 5 měsíci +1

    Would have been better if the audio was tweaked a little bit to make other's voices sound louder and clearer. Or just give them a mic. Or maybe put some subtitles.

  • @yephick
    @yephick Před 8 měsíci +5

    Very one-sided video where I can only hear half of the conversation :(

  • @chrraz
    @chrraz Před 8 měsíci +5

    Not really being able to hear the audience unfortunately takes a lot away from an interactive talk like this :/

  • @yrHeTateJlb
    @yrHeTateJlb Před 8 měsíci +7

    If you don't repeat audience comments it's just 18 minutes of you saying "oh that's nice". I bet it's possible to make 10 hours version with no much difference

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

      Oh that’s nice.

  • @FalcoGer
    @FalcoGer Před 7 měsíci +1

    This is hard to listen to on youtube, especially if english is not your first language.

  • @doBobro
    @doBobro Před 8 měsíci +1

    It's funny how much talks about UB and safety in recent times. But almost nothing about testing and coverage. It looks like testing culture is quite weak in C++ context.