3 ms·
Is modern C++ the new Ada?
by muterad_murilax 8y ago
Is modern C++ the new Ada?
- Koshkin 8y agoI think the biggest difference between Ada and C++ is that much of the functionality in C++ is implemented in the form of libraries vs. something that is built into the language itself. Character strings is the most obvious example, but there are many others (such as concurrency primitives). Personally, I am not sure which way is better: on the one hand, a good language should, indeed, give the programmer powerful means of abstraction; on the other hand, it might be beneficial if the language grammar could somehow directly absorb, in time, things of unquestionable value - so that the construct's syntax could be simpler or more natural, or, perhaps, so that the compiler could employ better optimization techniques.
- pjmlp 8y agoAlmost, copy-paste compatibility with C89 hinders its safety. However it is better than keeping with plain old C.
- cbsmith 8y agoNah. Ada is the new Ada. C++ is a different beast altogether.
- topspin 8y ago> Is modern C++ the new Ada? I don't know much about Ada except what experience I've had with PL/SQL, which is supposedly related to it. I found myself counting the number of characters I'd have to change to get that first C++ snippet to evaluate as ES6.
- notacoward 8y agoNo. Ada might be too complicated, but it's far more coherent. C++ is like a novel with each sentence written by a different author. Even worse, each author keeps trying to pull the plot and the characters in a very different direction. Any C++ codebase that spans more than one version of the C++ standard ends up combining the two into its own special dialect, defeating the whole purpose of having standards in the first place.