r/Compilers • u/Retired-69 • Sep 29 '26
What else is going to break this thing? hit me with your worst edge cases / language stress tests
Alright, I’ve been buried in PL theory and compiler internals for longer than I care to admit, and my eyes are practically bleeding.
Somewhere along the way, I ended up writing a new language.
Before anyone asks: no, this isn't another weekend toy Lisp or AI-generated wrapper—I'm an old-school dev with a GitHub account older than LLMs. I’ve been deliberately cautious with the design and implementation, and I like to have my work backed up before I ship anything. I’m getting ready to publish a live demo soon. It won't be completely bug-free, of course, but before I put it out into the wild for the internet to inevitably tear apart, I want to try to break it myself first.
The main focus is memory safety without requiring Rust-style borrow-checker gymnastics.
So far, I’ve thrown a fairly unpleasant collection of edge cases at it, including cases inspired by:
- Rust — lifetime, aliasing, ownership, and mutation corner cases
- Microsoft Verona & Midori
- Go, Zig, and C#
- ...and, for reasons I’d rather not revisit, some deep-cut Pascal 5 and COBOL cases
So far, it has survived them.
But I know how compiler development works: the moment you think you’ve covered everything, someone produces a cursed three-line program that exposes a hole you somehow never considered.
I don't want to derail this into a language-design discussion yet. I’ll save that for the demo.
What I want are your worst test cases.
Give me the weirdest:
- Memory corruption scenarios
- Lifetime/aliasing traps
- Undefined-behavior edge cases
- Concurrent race conditions
- Compiler miscompilations
- Integer/pointer nastiness
- Recursive or mutually recursive type disasters
- Compile-time/resource-exhaustion cases
- Optimizer bugs
- FFI/ABI nightmares
- Anything else that has made you lose an entire weekend
I’m specifically looking for cases that are difficult for a language/compiler to get right. If you have a tiny "how the hell did this ever compile?" example, even better.
Break it. 🔨

