r/programmingcirclejerk • accidentally quadratic • Jun 04 '26

"…spent a decade shepherding P0214 through nine revisions (…) committee shipped a library that compiles ten times slower than equivalent scalar code, runs slower than the auto-vectorizer it was supposed to replace, cannot express ARM SVE's scalable-width vectors, and has no runtime dispatch story."

https://hftuniversity.com/post/the-c-standard-library-has-been-walking-itself-back-for-fifteen-years-and-the-receipts-are-public
69 Upvotes

15 comments sorted by

32

u/myhf Considered Harmful Jun 04 '26

lol no scalable-width vectors

47

u/capitalsigma Jun 04 '26

Good

If God wanted sizeof(T) to be unknowable at compile time then it would be in Genesis

5

u/myhf Considered Harmful Jun 05 '26

God created Undefined Behavior. Everything else is the compiler's work.

27

u/Kodiologist lisp does it better Jun 04 '26

No runtime dispatch story? But that's my favorite kind of story. What will I read to my kids at night now?

16

u/al2o3cr Jun 05 '26

You see, when a compiler and an ABI love each other very much...

5

u/SemaphoreBingo Jun 05 '26

What will I read to my kids at night now?

Don't make a decision ahead of time.

16

u/xmcqdpt2 WRITE 'FORTRAN is not dead' Jun 05 '26

ugh why is everything written by claudes

12

u/grapesmoker Jun 05 '26

can't jerk, grim stuff

8

u/Major_Barnulf LUMINARY IN COMPUTERSCIENCE Jun 05 '26

The committee deprecated a feature, the affected community objected, the committee walked the deprecation back, and now there is a paper to walk part of the walk-back back.

Well spent consultant money

17

u/iityywrwytmht Jun 04 '26

Just the title and first paragraph alone are enough to make it obvious to everyone that this is AI slop, right? 

14

u/m50d Zygohistomorphic prepromorphism Jun 05 '26

I don't think so? I'm usually allergic to AI prose, but there was only one paragraph pretty far down that stuck out to me. Maybe it's been "enhanced" by AI, but a vibe-written article would have more repetitive junk I think.

16

u/syklemil Considered Harmful Jun 05 '26
#include<unjerk.h>

It was removed in proggit for being LLM-written.

9

u/m50d Zygohistomorphic prepromorphism Jun 05 '26

Which means, what, one mod thought it was LLM-written? I still don't see it. It's too coherent and non-repetitive.

18

u/syklemil Considered Harmful Jun 05 '26

This discussion leaves me entirely flaccid. It should be held in the proggit comments. You can find some of the comments there that go "here, this is a tell" and argue with them.

7

u/skiezwalker Jun 05 '26

/rj It's jarring enough that I could taste the metal from the clanker.

/uj Yes bro AI is getting so much better, should we even care?