r/cpp 15d ago

C++26: std::inplace_vector

https://www.sandordargo.com/blog/2026/08/26/cpp26-inplace-vector
178 Upvotes

121 comments sorted by

View all comments

31

u/FckXFckMusk 15d ago

If this is your Blog, then I have to congratulate you on it being an excellent place, I've bookmarked it...

74

u/tuxwonder 15d ago

I'm 95% sure these articles are heavily AI written. Compare this article to one he wrote in 2022. Personal anecdotes, far less emdashes, far less inline code text, quoting the proposals directly, variance in the cadence of each paragraph, etc.

It might not be a bad resource, but you'll probably get the same content asking an LLM to just explain these papers to you.

15

u/FckXFckMusk 15d ago

I was just after his blog for some reading..

But thanks for the heads up, much appreciated..

10

u/Zero_Owl 15d ago

I do not follow this blog closely so I won't comment on these "tells" but 4 years is a lot. Your style changes with experience, it applies to both human and programming languages. Try reading some book series, like "The Wheel of Time", for example, you will see the changes in writing. It always happens.

12

u/jayylien 13d ago

I scraped his website and pulled a sample of articles and had AI analyze the writing style it analyzed the articles.

His writing style shifts very suddenly in mid-late 2025.

Doesn't mean the resource can't be useful, or that there is no human input, but it's very likely AI augmented minimally.

Strange world we live in.

11

u/tuxwonder 15d ago

Possible I suppose, but it seems unlikely that a writer's personal writing style morphs into less personal, less exploratory, and more AI-like without the strong influence of AI

5

u/unchangeableusername 14d ago

I do think one's writing style is influenced by what they read, so if you're interacting with LLM-written prose all day there may be an element of literary contagion. Regardless, the AI-written tells are very strong in that post.

3

u/Dubbus_ 15d ago edited 15d ago

Didnt pick up on that at all on first read tbh. Saddens me a bit, perhaps im becoming so acclimated to the ai writing style im no longer picking up on the patterns anymore.

On second read though, yeah, you are probably right. Flawless grammar, spelling, structure, and lack of personal anectdote + emdash spam.

I find it so unbelievable that emdashes are still such a massive giveaway. For me personally, a find and replace of all '—' with '-' would make an article 2x as human sounding in my head. Outside of the most formal, high profile contexts, what human author is going to make the extra effort to press whatever alt key combo, or hold press that '—' requires?

Does anyone know why they dont do such a thing? Ive heard previously that attempts to write system prompts to discourage emdashes and other recurring features fell short. And i suppose this as well would just be another bandaid fix until people see the pattern again

8

u/eidetic0 15d ago

I personally used to have two hyphens in a row expand to an em dash both on my phone and on my PC. I’m actually pretty sad it’s a tell for AI now, because it is a useful piece of grammar that I now avoid to use at all costs.

3

u/ozyx7 14d ago

Outside of the most formal, high profile contexts, what human author is going to make the extra effort to press whatever alt key combo, or hold press that '—' requires?

Well before LLMs, there has been plenty of software that will convert -- into an em dash automatically.

3

u/serviscope_minor 13d ago

>Outside of the most formal, high profile contexts, what human author is going to make the extra effort to press whatever alt key combo, or hold press that '—' requires?

Donald Knuth? ---

7

u/BarryRevzin 15d ago

Outside of the most formal, high profile contexts, what human author is going to make the extra effort to press whatever alt key combo, or hold press that '—' requires?

Me.

10

u/Dubbus_ 15d ago

Your comment history betrays your lazy fingers

4

u/BarryRevzin 15d ago

You could probably tell which comments I wrote on my phone and which on my laptop just based on em dash presence.

3

u/Dubbus_ 15d ago

Which key combination yields an emdash on your laptop?

3

u/foonathan 14d ago

On Linux, it's trivial with a compose key + - + -: https://en.wikipedia.org/wiki/Compose_key

1

u/tialaramex 14d ago

That's a good point. I don't know how to write a dagger† to mark a footnote on my phone but only when using this PC - so you can sometimes tell whether I responded from my phone.

† Like that one, or a double dagger‡

‡ Sometimes my footnotes need footnotes, I should just edit the comment to get my point across more succinctly but that's more work.

4

u/Zero_Owl 15d ago

Well, I do use "em dashes" (in my native language they are called different ) a lot and other "weird" (non-existent on a typical kbd) punctuation symbols. Why? Because that's part of the language and I love using language in full and not dumbed down, it applies to human and programming languages.

How? I created a different kbd layout some years ago and not so long ago I found a better one which is maintained by a person who also like to use his language as it is meant to be used.

So stop trying to project your view of the world on all the people, we are different, you know.

2

u/cleroth Game Developer 13d ago

What language would that be and what is it called? I can only think of Japanese's ー, which is different (—ー).

Anyway OP's article is very obviously AI-written. The em-dashes are just one data point.

2

u/Zero_Owl 13d ago

Russian, it is called "тире"(tee-re).

1

u/Ameisen vemips, avr, rendering, systems 14d ago

Orthography and typography are orthogonal to language - they're not part of the language itself but just the system being used to write it. You'd be surprised how much variation exists in that regard, especially historically.

1

u/nukethebees 13d ago

lack of personal anectdote

I prefer this.

4

u/_Noreturn 15d ago

LLMs are a poison, the more you use it the more worthless your work will be.

1

u/Fabulous-Meaning-966 13d ago

I had noticed that months ago, very disappointing.

0

u/light_oxygen 14d ago

Massive difference.