this post was submitted on 22 Feb 2026
208 points (99.1% liked)

Programmer Humor

29911 readers
670 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
top 5 comments
sorted by: hot top controversial new old
[–] Flipper@feddit.org 11 points 58 minutes ago* (last edited 12 minutes ago)

Has the same vibes as anthropic creating a C compiler which passes 99% of compiler tests.

That last percent is really important. At least that last percent are some really specific edge cases right?

Description:
When compiling the following code with CCC using -std=c23:

bool is_even(int number) {
   return number % 2 == 0;
}

the compiler fails to compile due to booltrue, and false being unrecognized. The same code compiles correctly with GCC and Clang in C23 mode.

Source

Well fuck.

[–] fckreddit@lemmy.ml 3 points 39 minutes ago* (last edited 38 minutes ago) (1 children)

LLMs belong to the same category. Seemingly right, but not really right.

[–] Viceversa@lemmy.world 2 points 25 minutes ago* (last edited 24 minutes ago)
[–] SexualPolytope@lemmy.sdf.org 16 points 1 hour ago

The error is ~1/log(x), for anyone interested.

[–] red_tomato@lemmy.world 4 points 1 hour ago

It has actually 100% accuracy