3 ms·
The language is fine, mostly, nowadays. The ecosystem isn't fine - just to get a project going requires picking a non-trivial set of tools and approaches, none
by nnevatie 5mo ago
The language is fine, mostly, nowadays.
The ecosystem isn't fine - just to get a project going requires picking a non-trivial set of tools and approaches, none of which the C++ standard enforces or guides to.
For example, will you manage dependencies via packages? If so, with what? What will you use for building your project? The list goes on and on.
- bayindirh 5mo agoI personally find the lack of native package management in C++ as a blessing. Go, Python, Rust has it, and this always causes pulling in infinite number of packages for any trivial operation. sudo-rs was pulling in 1M+ LOC as its dependency chain at one point. I believe they removed the biggest offenders, but I didn't check it recently.
- nnevatie 5mo agoThat's one way to look at it, certainly. There are several OK options in that space, e.g. Conan (2) and vcpkg.
- Davidbrcz 5mo agoNo it's not. The language keeps growing, with - new features overlapping old features from previous standards without replacing them or deprecating them (function::copyable_function vs std::function, std::less<> key for transparent lookup in maps) - new features not usable by the layman (coroutines ...) - Cryptic syntax (reflection...) - Stuff you are told not to use because of performance reason and that cant be fixed because of ABI (regex) - Compile errors that are 1km long (no, concepts are not helping here, the 'nicer' message is still buried into a hot pile of template instantiation callstack).
- bayindirh 5mo agoI wonder how many programming languages would be able to devoid of all or some of these problems when they are 40 years old. It's easy to compare new and old languages, and saying older languages are wrinkly. Let's see how other shiny programming languages look like when they are 40 years old.
- pjmlp 5mo agoSo a bit like Python or any other language of similar age.
- whstl 5mo agoWorking occasionally with modern Python helped me love and respect C++ even more.
- bregma 5mo agoPython3 is what, 15 years old?
- pjmlp 5mo agoI start counting from Python 1.
- unclad5968 5mo agoWell if c++ had the liberty of scrapping the language twice in the last 30 years I'm sure it would look better too.
- SJC_Hacker 5mo agoThat is probably what they should have done ..l
- pjmlp 5mo agoPython 2 to 3 mess is exactly why all languages think twice about breaking backwards compatibility.