#undefinedbehavior — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #undefinedbehavior, aggregated by home.social.
-
😥:
“Everything In C Is Undefined Behavior”, Thomas Habets (https://blog.habets.se/2026/05/Everything-in-C-is-undefined-behavior.html).
Via HN: https://news.ycombinator.com/item?id=48203698
On Lobsters: https://lobste.rs/s/dtcfd6/everything_c_is_undefined_behavior
#Programming #C #CPP #CPlusPlus #UB #UndefinedBehavior #Standards
-
😥:
“Everything In C Is Undefined Behavior”, Thomas Habets (https://blog.habets.se/2026/05/Everything-in-C-is-undefined-behavior.html).
Via HN: https://news.ycombinator.com/item?id=48203698
On Lobsters: https://lobste.rs/s/dtcfd6/everything_c_is_undefined_behavior
#Programming #C #CPP #CPlusPlus #UB #UndefinedBehavior #Standards
-
😥:
“Everything In C Is Undefined Behavior”, Thomas Habets (https://blog.habets.se/2026/05/Everything-in-C-is-undefined-behavior.html).
Via HN: https://news.ycombinator.com/item?id=48203698
On Lobsters: https://lobste.rs/s/dtcfd6/everything_c_is_undefined_behavior
#Programming #C #CPP #CPlusPlus #UB #UndefinedBehavior #Standards
-
😥:
“Everything In C Is Undefined Behavior”, Thomas Habets (https://blog.habets.se/2026/05/Everything-in-C-is-undefined-behavior.html).
Via HN: https://news.ycombinator.com/item?id=48203698
On Lobsters: https://lobste.rs/s/dtcfd6/everything_c_is_undefined_behavior
#Programming #C #CPP #CPlusPlus #UB #UndefinedBehavior #Standards
-
Oh, look! Another pretentious C programmer bemoaning the inevitability of undefined behavior like it's some sort of philosophical revelation. 🙄 We're all just helpless marionettes in the grand theater of programming, swirling in a vortex of #pointers and segfaults! 🤹♂️
https://blog.habets.se/2026/05/Everything-in-C-is-undefined-behavior.html #pretentiousCprogrammer #undefinedBehavior #programmingHumor #segfaults #HackerNews #ngated -
Oh, look! Another pretentious C programmer bemoaning the inevitability of undefined behavior like it's some sort of philosophical revelation. 🙄 We're all just helpless marionettes in the grand theater of programming, swirling in a vortex of #pointers and segfaults! 🤹♂️
https://blog.habets.se/2026/05/Everything-in-C-is-undefined-behavior.html #pretentiousCprogrammer #undefinedBehavior #programmingHumor #segfaults #HackerNews #ngated -
Oh, look! Another pretentious C programmer bemoaning the inevitability of undefined behavior like it's some sort of philosophical revelation. 🙄 We're all just helpless marionettes in the grand theater of programming, swirling in a vortex of #pointers and segfaults! 🤹♂️
https://blog.habets.se/2026/05/Everything-in-C-is-undefined-behavior.html #pretentiousCprogrammer #undefinedBehavior #programmingHumor #segfaults #HackerNews #ngated -
Oh, look! Another pretentious C programmer bemoaning the inevitability of undefined behavior like it's some sort of philosophical revelation. 🙄 We're all just helpless marionettes in the grand theater of programming, swirling in a vortex of #pointers and segfaults! 🤹♂️
https://blog.habets.se/2026/05/Everything-in-C-is-undefined-behavior.html #pretentiousCprogrammer #undefinedBehavior #programmingHumor #segfaults #HackerNews #ngated -
Oh, look! Another pretentious C programmer bemoaning the inevitability of undefined behavior like it's some sort of philosophical revelation. 🙄 We're all just helpless marionettes in the grand theater of programming, swirling in a vortex of #pointers and segfaults! 🤹♂️
https://blog.habets.se/2026/05/Everything-in-C-is-undefined-behavior.html #pretentiousCprogrammer #undefinedBehavior #programmingHumor #segfaults #HackerNews #ngated -
Today is the perfect day to listen to some #undefinedbehavior #psytrance #music
ht @buherator
https://soundcloud.com/burninnoise/undefined-behavior-vs-altruism-perception-box
-
The production bug that made me care about undefined behavior
https://gaultier.github.io/blog/the_production_bug_that_made_me_care_about_undefined_behavior.html
#HackerNews #productionbug #undefinedbehavior #programmingcare #techstories #softwaredevelopment
-
The production bug that made me care about undefined behavior
https://gaultier.github.io/blog/the_production_bug_that_made_me_care_about_undefined_behavior.html
#HackerNews #productionbug #undefinedbehavior #programmingcare #techstories #softwaredevelopment
-
The production bug that made me care about undefined behavior
https://gaultier.github.io/blog/the_production_bug_that_made_me_care_about_undefined_behavior.html
#HackerNews #productionbug #undefinedbehavior #programmingcare #techstories #softwaredevelopment
-
The production bug that made me care about undefined behavior
https://gaultier.github.io/blog/the_production_bug_that_made_me_care_about_undefined_behavior.html
#HackerNews #productionbug #undefinedbehavior #programmingcare #techstories #softwaredevelopment
-
The production bug that made me care about undefined behavior
https://gaultier.github.io/blog/the_production_bug_that_made_me_care_about_undefined_behavior.html
#HackerNews #productionbug #undefinedbehavior #programmingcare #techstories #softwaredevelopment
-
"Behold, the epic quest for 'Dependable C' - because nothing screams #reliability like undefined behavior and broken VLAs 🤦♂️! In a dazzling display of verbosity, they ironically try to fix C with more convoluted #C23 and mythical #C2Y, because adding chaos is the path to safety, right? 🤔🔧"
https://dependablec.org/ #DependableC #UndefinedBehavior #SoftwareDevelopment #HackerNews #ngated -
"Behold, the epic quest for 'Dependable C' - because nothing screams #reliability like undefined behavior and broken VLAs 🤦♂️! In a dazzling display of verbosity, they ironically try to fix C with more convoluted #C23 and mythical #C2Y, because adding chaos is the path to safety, right? 🤔🔧"
https://dependablec.org/ #DependableC #UndefinedBehavior #SoftwareDevelopment #HackerNews #ngated -
"Behold, the epic quest for 'Dependable C' - because nothing screams #reliability like undefined behavior and broken VLAs 🤦♂️! In a dazzling display of verbosity, they ironically try to fix C with more convoluted #C23 and mythical #C2Y, because adding chaos is the path to safety, right? 🤔🔧"
https://dependablec.org/ #DependableC #UndefinedBehavior #SoftwareDevelopment #HackerNews #ngated -
"Behold, the epic quest for 'Dependable C' - because nothing screams #reliability like undefined behavior and broken VLAs 🤦♂️! In a dazzling display of verbosity, they ironically try to fix C with more convoluted #C23 and mythical #C2Y, because adding chaos is the path to safety, right? 🤔🔧"
https://dependablec.org/ #DependableC #UndefinedBehavior #SoftwareDevelopment #HackerNews #ngated -
Nice 👌🏽👇🏽:
“Undefined Behavior In C And C++” [2024], Russell Wallace (https://russellw.github.io/undefined-behavior).
Via HN: https://news.ycombinator.com/item?id=44841891
#UndefinedBehavior #Programming #C #CPP #Compilers #Optimization #Standards #UB
-
Nice 👌🏽👇🏽:
“Undefined Behavior In C And C++” [2024], Russell Wallace (https://russellw.github.io/undefined-behavior).
Via HN: https://news.ycombinator.com/item?id=44841891
#UndefinedBehavior #Programming #C #CPP #Compilers #Optimization #Standards #UB
-
Nice 👌🏽👇🏽:
“Undefined Behavior In C And C++” [2024], Russell Wallace (https://russellw.github.io/undefined-behavior).
Via HN: https://news.ycombinator.com/item?id=44841891
#UndefinedBehavior #Programming #C #CPP #Compilers #Optimization #Standards #UB
-
Nice 👌🏽👇🏽:
“Undefined Behavior In C And C++” [2024], Russell Wallace (https://russellw.github.io/undefined-behavior).
Via HN: https://news.ycombinator.com/item?id=44841891
#UndefinedBehavior #Programming #C #CPP #Compilers #Optimization #Standards #UB
-
Nice 👌🏽👇🏽:
“Undefined Behavior In C And C++” [2024], Russell Wallace (https://russellw.github.io/undefined-behavior).
Via HN: https://news.ycombinator.com/item?id=44841891
#UndefinedBehavior #Programming #C #CPP #Compilers #Optimization #Standards #UB
-
🚀😂 Oh, look! Another grandiose plan to sprinkle some #Rust magic on #C, only to be abandoned faster than you can say "undefined behavior". But hey, at least the proposal taught us that gluing #safety onto C is like trying to attach wings to a car and expecting it to fly 🚗✈️.
https://sibellavia.lol/posts/2025/09/safe-c-proposal-is-not-being-continued/ #Crossover #RustMagic #UndefinedBehavior #CodingHumor #HackerNews #ngated -
C++OnSea 2025 SESSION ANNOUNCEMENT: What C++ Needs to be Safe by John Lakos
https://cpponsea.uk/2025/session/what-cpp-needs-to-be-safe
Register now at https://cpponsea.uk/tickets/
-
@wyatt I've seen others interpret it as rav1d offering a $20,000 bug bounty for dav1d, the C decoder. If you find exploitable undefined behavior that the dav1d devs have to spend 5% of CPU time to prevent, you win.
#rav1d #dav1d #av1 #BugBounty #UndefinedBehavior #riir #rustlang
-
@wyatt I've seen others interpret it as rav1d offering a $20,000 bug bounty for dav1d, the C decoder. If you find exploitable undefined behavior that the dav1d devs have to spend 5% of CPU time to prevent, you win.
#rav1d #dav1d #av1 #BugBounty #UndefinedBehavior #riir #rustlang
-
@wyatt I've seen others interpret it as rav1d offering a $20,000 bug bounty for dav1d, the C decoder. If you find exploitable undefined behavior that the dav1d devs have to spend 5% of CPU time to prevent, you win.
#rav1d #dav1d #av1 #BugBounty #UndefinedBehavior #riir #rustlang
-
@wyatt I've seen others interpret it as rav1d offering a $20,000 bug bounty for dav1d, the C decoder. If you find exploitable undefined behavior that the dav1d devs have to spend 5% of CPU time to prevent, you win.
#rav1d #dav1d #av1 #BugBounty #UndefinedBehavior #riir #rustlang
-
@wyatt I've seen others interpret it as rav1d offering a $20,000 bug bounty for dav1d, the C decoder. If you find exploitable undefined behavior that the dav1d devs have to spend 5% of CPU time to prevent, you win.
#rav1d #dav1d #av1 #BugBounty #UndefinedBehavior #riir #rustlang
-
“[…] But they also made some mistakes… which is not too surprising when you are doing this kind of work. And I would like rust ideally not to repeat these mistakes. I think we can make our own new and fun unique mistakes”
Ralf Jung on the MiniRust language specification proposal
#rustlang #formalLanguage #undefinedBehavior
https://www.youtube.com/watch?v=UKCUZtr378s&t=5h13m00s -
“[…] But they also made some mistakes… which is not too surprising when you are doing this kind of work. And I would like rust ideally not to repeat these mistakes. I think we can make our own new and fun unique mistakes”
Ralf Jung on the MiniRust language specification proposal
#rustlang #formalLanguage #undefinedBehavior
https://www.youtube.com/watch?v=UKCUZtr378s&t=5h13m00s -
“[…] But they also made some mistakes… which is not too surprising when you are doing this kind of work. And I would like rust ideally not to repeat these mistakes. I think we can make our own new and fun unique mistakes”
Ralf Jung on the MiniRust language specification proposal
#rustlang #formalLanguage #undefinedBehavior
https://www.youtube.com/watch?v=UKCUZtr378s&t=5h13m00s -
C++OnSea 2025 SESSION ANNOUNCEMENT: What C++ Needs to be Safe by John Lakos
https://cpponsea.uk/2025/session/what-cpp-needs-to-be-safe
Register now at https://cpponsea.uk/tickets/
-
Ah yes, because what could be more exhilarating than "fun" with undefined behavior and C libraries? 🤔 Just when you thought C couldn't get any more "entertaining," here comes a blog post to remind you that the real circus is in the code you *didn't* know was breaking things. 🎪🔧
https://keithp.com/blogs/sanitizer-fun/ #CProgramming #UndefinedBehavior #FunWithCode #CodeCircus #TechHumor #HackerNews #ngated -
I put an overview of my preliminary (!) analysis of undefined behavior in the core language and the status in C2Y into the ISO WG14 document log.
https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3529.pdf
#undefinedbehavior #clanguage -
Ah, yes, let's all gather 'round the campfire to hear the age-old tale of #C and #C++, where speed demons rule and correctness is just a bedtime story 🙄🚀. Apparently, back in 1989, the wizards of #programming thought "undefined behavior" sounded like a great idea—because who doesn't love a little #chaos in their code? 😜🤯 #YOLOCoding #UndefinedIsTheNewDefined
https://research.swtch.com/ub #UndefinedBehavior #Coding #HackerNews #ngated -
A Guide to Undefined Behavior in C and C++ (2010)
https://blog.regehr.org/archives/213
#HackerNews #UndefinedBehavior #C #C++ #Guide #Programming #2010
-
“C++ Standards Contributor Expelled For 'The Undefined Behavior Question'”, Slashdot (https://m.slashdot.org/submission/17330375).
On HN: https://news.ycombinator.com/item?id=42226250
On /r/cpp: https://old.reddit.com/r/cpp/comments/1gyiwwc/c_standards_contributor_expelled_for_the/
#CPP #CPlusPlus #Standards #ChatGPT #UndefinedBehavior #WTF #AntiSemitism
-
Neither #C nor a modern #CPU give timing guarantees, so this is weird:
“Clang Vs Clang”, Daniel Bernstein (https://blog.cr.yp.to/20240803-clang.html).
On HN: https://news.ycombinator.com/item?id=41146860
On Lobsters: https://lobste.rs/s/kumzku/clang_vs_clang
#Cryptography #Optimization #GCC #Clang #Compilers #UndefinedBehavior
-
C++OnSea 2024 SESSION ANNOUNCEMENT: An (In-)Complete Guide to C++ Object Lifetimes by @foonathan
https://cpponsea.uk/2024/sessions/an-in-complete-guide-to-cpp-object-lifetimes
Register now at https://cpponsea.uk/tickets/
-
New on the blog: A brief detour, as some of the support code I wrote for last week's Amiga project went *terribly* wrong. A tale of berzerk optimizing compilers and undefined behavior, and a reconstruction of its antics.
https://bumbershootsoft.wordpress.com/2024/06/29/amiga-500-interlude-nasal-demons/
-
C++OnSea 2024 SESSION ANNOUNCEMENT: An (In-)Complete Guide to C++ Object Lifetimes by @foonathan
https://cpponsea.uk/2024/sessions/an-in-complete-guide-to-cpp-object-lifetimes
Register now at https://cpponsea.uk/tickets/
-
C++OnSea 2024 SESSION ANNOUNCEMENT: This is C++ by Jon Kalb
https://cpponsea.uk/2024/sessions/this-is-cpp
Register now at https://cpponsea.uk/tickets/
-
C++OnSea 2024 SESSION ANNOUNCEMENT: An (In-)Complete Guide to C++ Object Lifetimes by @foonathan
https://cpponsea.uk/2024/sessions/an-in-complete-guide-to-cpp-object-lifetimes
Register now at https://cpponsea.uk/tickets/
-
C++OnSea 2024 SESSION ANNOUNCEMENT: This is C++ by Jon Kalb
https://cpponsea.uk/2024/sessions/this-is-cpp
Register now at https://cpponsea.uk/tickets/
-
“Why Do We Need A [sic] Undefined Behavior Annex For The C++ Standard?”, Intel (https://community.intel.com/t5/Blogs/Tech-Innovation/Tools/Why-do-we-need-a-Undefined-Behavior-Annex-for-the-C-standard/post/1574397).
“P1705R1: Enumerating Core Undefined Behavior” (http://wg21.link/P1705).
-
When it comes to "undefined behavior" (UB) in C++ programs, I sometimes wonder if *part of the problem* is that the C++ standard is relatively "over specified".
(For the record, I'm OK with this aspect of the C++ spec.)
E.g., Java has only signed integers and the integers can overflow/underflow just like signed integers in C++, but we don't see reams of UB commentary about that issue in Java.
-
And also this three-part series:
“What Every C Programmer Should Know About Undefined Behavior” [2011], Chris Lattner (http://blog.llvm.org/2011/05/what-every-c-programmer-should-know.html, http://blog.llvm.org/2011/05/what-every-c-programmer-should-know_14.html, and http://blog.llvm.org/2011/05/what-every-c-programmer-should-know_21.html).