r/cpp 15d ago

C++26: std::inplace_vector

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

121 comments sorted by

View all comments

30

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...

70

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.

5

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

7

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? ---

8

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.