Today is the perfect day to listen to some #undefinedbehavior #psytrance #music
ht @buherator
https://soundcloud.com/burninnoise/undefined-behavior-vs-altruism-perception-box
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
"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
🚀😂 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/
I stumbled over a C compiler doing unexpected things when finding programs using undefined behaviour. Sadly I don't remember more. Has anyone a pointer for me?
@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
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
Programmer Definition: Someone Who Solves a Problem You Didn’t Know You Had in a Way You Don’t Understand.
🔗 https://techgeeksapparel.com/programmer-definition-meaning-t-shirt/
#ProgrammerLife #CodeMystery #UndefinedBehavior
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
Today's adventures in C++ culminate in a failure to initialize variables leading to a bool having a value of 193 (?!), which somehow lead to a return statement going down an utterly insane path that resulted in an illegal instruction crash.
#c++ #programming #bugs #undefinedbehavior #uninitializedmemory
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/