4 ms·
> On all the recent c++ polls the average language revision used is between c++14 and 17. Polls of hobbyist coders, or software houses? I would be surprised if
by secondcoming 5y ago
> On all the recent c++ polls the average language revision used is between c++14 and 17.
Polls of hobbyist coders, or software houses? I would be surprised if most software houses migrated to C++17 yet. Tensorflow is stuck on C++03 I think.
- jcelerier 5y agoTF is at least C++11 from the first header I opened in the repo: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/cc/experimental/base/public/runtime.h https://github.com/tensorflow/tensorflow/blob/master/tensorf... I'm referring to e.g. the Jetbrains and cppcon polls. https://blog.jetbrains.com/clion/2020/06/dev-eco-cpp-2020/ https://blog.jetbrains.com/clion/2020/06/dev-eco-cpp-2020/ https://youtu.be/JYzDpXI-vWI?t=137 https://youtu.be/JYzDpXI-vWI?t=137
- secondcoming 5y agoLast time I used it there was faff around having to define __GLIBCXX_USE_CXX11_ABI=0
- jcelerier 5y agoit does not mean that you're not using C++11. This macro is just a compatibility flag for your code to work on old linux distros that provide a C++11 compiler but did not want to rebuild their whole archive. It mainly means that std::string is implemented with copy-on-write instead of small buffer optimization.