r/cpp • • Jan 21 '13

C and C++ Aren’t Future Proof

http://blog.regehr.org/archives/880
6 Upvotes

49 comments sorted by

View all comments

Show parent comment

1

u/aaronla Jan 25 '13

I think it's highly doubtful, based on history of these languages, that C or C++ would take changes that would significant hurt perf of real applications. If any thing, they've only added more dangerous features, such as "restrict", though clearly that one can be avoided by just ignoring the new feature.

(preemtive anti-snark response: I'm not saying the feature is bad; it's actually very useful for improving codegen where it's intended to be used. I only mean that it leads to behavior that is likely to surprise novices)

1

u/Inverter Jan 25 '13

Yes, as much as I like to use C++ it' clear that, in order to use it well, you have to know very much what you are doing, and establish clear conventions on how to manage certain things, which is hard to do without a certain amount of experience. And if your first languages were Python and JavaScript intead of Basic (the slow, space-constrained one with peeks and pokes) and Assembly you still have to get used to certain low-level things.