4 ms·
To met it's pretty clear that the language C++ programmers were waiting for is called C++ 14.
by shin_lao 12y ago
To met it's pretty clear that the language C++ programmers were waiting for is called C++ 14.
- humanrebar 12y agoAs a C++ programmer, I'm waiting for C++ZZ where ZZ is the version that has a sane module system. Something like Cargo isn't even on the radar for C++ developers for a lot of reasons, but many of them can be traced back to textual inclusion.
- girvo 12y agoThis is going to sound weird, and possibly ignorant, but PHP uses textual inclusion and we still have Composer/Packagist and PSR-4? I'm guessing the difference lies in 'spl_autoload_register'?
- ziotom78 12y agoI absolutely agree! And I hope that a module system will help C++ in improving its compilation times too: templates slow gcc a lot. Just an example. In the previous months I had to re-write a medium-sized project (~5000 lines of C++), and I chose to use Free Pascal instead of C++. The old C++ code took ~1 min to compile, while Free Pascal only requires ~1 sec! It is so fast that my makefile uses the "rebuild all" switch every times it calls "fpc". In this way, at each recompilation all the hints/warnings are printed again and again, and there is no risk that I miss any of them. Another thing that C++14 lacks is a decent set of features in the standard library. How can it be possible that the STL includes esoteric features (see "partition", "is_permutation"...), but not a printf-like formatting facility à la "boost::format"? I cannot stand the usage of ios::setw et similia!
- bjz_ 12y agoIsn't it C++17? Modules and concepts?