Skip to content
0:00 / 0:00

#undefinedbehavior#c#c++

Olve Maudal - Deep C (and C++)

Hasgeek TV

38K subscribers • 2 videos on Hallway

YouTube
  • Recommended by 3 people: 3 in engineering communities.
  • A classic. People kept recommending it from 2015 to 2023.
  • Presented by Olve Maudal

Advanced. Deep dive for people who know the field.

3.7K views13 years ago3 recommendations

Programming languagesSystems programmingCC++Compilers and interpreters

Olve Maudal explores C and C++ gotchas, demonstrating undefined behavior and how different compilers handle edge cases.

Olve Maudal takes the audience through a series of gotchas in the C and C++ languages, showing various examples of undefined behaviour and how the results vary across compilers and compilation flags.

Why it's here

3 people recommend this

What people say. Highly recommended for understanding the dark corners of C, compiler optimizations, and undefined behavior.

u/amino_pastorin r/C_Programming • Recommends

C talks or conference videos? /u/JavaSuck recommended this Deep C video for me and I found it fascinating and learned many new things. So I'm posting this in the hope that other users will know similarly insightful videos or other good stuff on advanced C topics.

u/knotdjbin r/C_Programming • Recommends

On “First ever interview (graduate position), what should I know about C to prepare ?”

Go through Deep C (and C++) slide deck by Olve Maudal. I just found there is a video presentation of it now as well: link to this video

u/mttdin r/C_Programming • Recommends

On “Knowing C vs Mastering C”

Take a look at the following presentation by Olve Maudal and Jon Jagger, perhaps it will help with self-assessment: http://olvemaudal.com/2011/10/10/deep-c/ Slides (PDF): http://www.pvv.org/~oma/DeepC_slides_oct2011.pdf A related talk: link to this video

u/JavaSuckin r/C_Programming • Mentions

On “Why this is giving random answers each time i run this.”

Fair enough, if asmit is asking out of pure curiosity, he may enjoy watching Deep C. Just don't expect to learn anything of practical relevance, or which can be relied upon.