Undefined behavior, and the Sledgehammer Principle | The Pasture
Previously, an article made the rounds concerning Undefined behavior that made the usual Rust crowd go nuts and the usual C and C++ people get grumpy that someone Did Not Understand the Finer Points and Nuance of Their Brilliant Language. So, as usual, it’s time for me to do what I do best
Previously, an article made the rounds concerning Undefined behavior that made the usual Rust crowd go nuts and the usual C and C++ people get grumpy that someone Did Not Understand the Finer Points and Nuance of Their Brilliant Language. So, as usual, it’s time for me to do what I do best and add nothing of value to the conversation whatsoever. It’s time to get into The Big One in C and C++, and the Sledgehammer Principle. Undefined behavior This article is the one that flew around late November 2022 with people having a minor conniption over the implications that GCC will take your grubby si
Explore this link on the map →related reading
- What Every C Programmer Should Know About Undefined Behavior #1/3 - The LLVM Project Blogblog.llvm.org
- What Every C Programmer Should Know About Undefined Behavior #2/3 - The LLVM Project Blogblog.llvm.org
- What Every C Programmer Should Know About Undefined Behavior #3/3 - The LLVM Project Blogblog.llvm.org
- Rewriting Bun in Rust | Bun Blogbun.com
- Zig: Already More Knowable Than C - Andrew Kelleyandrewkelley.me
- Destroy All Values: Designing Deinitialization in Programming Languages - Faultloregankra.github.io
- C Isn't A Programming Language Anymore - Faultlorefaultlore.com
- Thompson_1984_ReflectionsonTrustingTrust.pdfcs.cmu.edu
- Eliminating Memory Safety Vulnerabilities Once and For Alldarpa.mil
- Eliminating Memory Safety Vulnerabilities Once and For Alldarpa.mil
- Branchless Equivalents of Simple Functions | Harder, Better, Faster, Strongerhbfs.wordpress.com
- Data representation – CS 61cs61.seas.harvard.edu