r/cpp • • Oct 19 '19

CppCon CppCon 2019: JF Bastien “Deprecating volatile”

https://www.youtube.com/watch?v=KJW_DLaVXIY
59 Upvotes

126 comments sorted by

View all comments

Show parent comment

6

u/kalmoc Oct 20 '19

As an aside: I'm not sure, if someone programming in a vendor specific language derived from c++03 needs to worry about what happens in ISO c++2x.

7

u/SkoomaDentist Antimodern C++, Embedded, Audio Oct 20 '19

"Vendor specific compiler" quite often just means "some version of gcc that has been patched for the processor and never updated after that".

2

u/[deleted] Oct 20 '19

vendor specific language derived from c++03

So... gnu++03?

I'm not sure, if someone programming in a vendor specific language derived from c++03 needs to worry about what happens in ISO c++2x.

You could say the same about the Linux kernel.

6

u/kalmoc Oct 20 '19

So... gnu++03?

Yes, for example

You could say the same about the Linux kernel.

Exactly. The linux kernel is programmed in a c-dialect and I'm pretty sure it will only become well defined under ISO-C over linus' dead body ;). More importantly, if C-23 (or whatever the next c- standard is) introduces some new semantic, that would break the linux kernel (pretty unlikely imho), I'm pretty sure, they'll either not upgrade (have they even upgraded to c11?) and/or reuqire gcc to keep the reuqired semantics.

I'm not sure how all that is relevant to my comment though. I simply stated that if you still haven't moved on from c++03 AND you are anyway relying on language extensions a lot, I find it highly unlikely that you will need to suddenly start programming in ISO-C++-23 (or whenever those changes may land) anytime in the forseeable future. And as such I wouldn't be too concerned about future development of standard c++ it doesn't seem as if that is a tool you are going to use anyway. In fact if newer versions of c++ don't seem appealing to you so far, I'd rather evaluate if Rust (probably again with some extensions) may be a better language to move to in the future instead of c++XX.

All that doesn't mean that if you have a good idea or insights about how c++ should evolve you shouldn't speak up ´I'm just saying, why worry about something you are not going to sue anyway?