Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. C++ Gurus
  4. What Every C/C++ Programmer Should Know About Undefined Behavior
Forum Updated to NodeBB v4.3 + New Features

What Every C/C++ Programmer Should Know About Undefined Behavior

Scheduled Pinned Locked Moved C++ Gurus
3 Posts 3 Posters 3.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    maciej
    wrote on 25 May 2011, 10:11 last edited by
    #1

    Hi,
    Recently I've read some great texts about undefined behavior on LLVM blog. It is devided into 3 parts ("part 1,":http://blog.llvm.org/2011/05/what-every-c-programmer-should-know.html "part 2 ":http://blog.llvm.org/2011/05/what-every-c-programmer-should-know_14.html and "part 3":http://blog.llvm.org/2011/05/what-every-c-programmer-should-know_21.html ), inspired by "John Regehr blog":http://blog.regehr.org/archives/213 (also 3 posts). In my opinion both sources are absolute must-read for every C/C++ programmer. You'll learn what is undefined behavior, what are its drawbacks and good sides, how compilers handles these situations and how code is optimized. Posts also contain many examples.

    Earth is a beta site.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Chuck Gao
      wrote on 25 May 2011, 10:24 last edited by
      #2

      Mark :)

      Chuck

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andre
        wrote on 25 May 2011, 11:36 last edited by
        #3

        Thank you for sharing!

        1 Reply Last reply
        0

        1/3

        25 May 2011, 10:11

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved