r/cpp • • Jul 23 '22

finally. #embed

https://thephd.dev/finally-embed-in-c23
353 Upvotes

202 comments sorted by

View all comments

Show parent comments

1

u/i860 Jul 23 '22

C predates opensource and does not even remotely suffer from the same issues C++ does. The problem is the language and the multitude of crap that’s been tacked onto it on a consistent cycle.

It’s a language, not a piece of userland software needing constant feature updates every 3 years.

3

u/not_a_novel_account cmake dev Jul 24 '22

#embed is a C feature, this is a thread about C.

ISO standardization considered harmful. Full stop.

1

u/i860 Jul 24 '22 edited Jul 24 '22

And this is a cpp sub where we’re talking about it in general. Aside from that it’s clear I’m speaking in general and you know the general context of what I’m referring to.

Yes, standards bodies are not the most efficient or optimal processes, especially when it comes to integrating people’s pet features, but they do serve a purpose.

If the language were treating as a constantly moving target bending and swaying to the whims of the community or fads it would devolve into an incoherent mess. In the words of the great Randy Savage: You don’t have to like it. But you must accept it.

5

u/not_a_novel_account cmake dev Jul 24 '22

Again, this is demonstrably untrue by way of every other language that exists and has a multitude of useful features beyond those of C or C++ even considering their different sets of goals. The international standardization approach has ossified the language standards not benefitted them.

When rust wants a new feature, they RFC, they implement it, and they iterate on it. When a feature doesn't work, they deprecate it. The language improves without having to burn through its maintainers as is the case with phd.

If you can't see that, you're part of the reason the standard has ossified. If you want to program the exact same way, never improving, for all time, be my guest. Just don't act surprised by when the language becomes irrelevant except as legacy.

→ More replies (0)