3 ms·
after watching that video, I never want to touch C++ again
by fnord77 5y ago
after watching that video, I never want to touch C++ again
- db48x 5y agoSeveral CPPCON talks in recent years have reinforced that for me as well. https://www.youtube.com/watch?v=7DTlWPgX6zs https://www.youtube.com/watch?v=7DTlWPgX6zs, for example. Edit: I originally linked to the wrong video (https://www.youtube.com/watch?v=TFMKjL38xAI https://www.youtube.com/watch?v=TFMKjL38xAI), which was a different talk by the same person.
- pjmlp 5y agoThen someone has to do it for you, because for the foresable future there will be plenty of critical libraries, and compiler infrastructure, that won't be available in anything else as implementation language. Hence why I keep my C and C++ skills sharp, even though they aren't my main languages any longer.
- fnord77 5y agoor it is time to replace these critical libraries with something that has the same features and is far less convoluted and far harder to make serious mistakes with. In addition to having experts accidentally make mistakes with `ref ref` like in that first video that resulted in performance degradation due to unwanted copies, C/C++ is a major security risk. Countless vulns are from simple mistakes and complex misunderstanding.
- tekknik 5y agoThis is a pipe dream. There are systems still running COBOL. It’s a real hard sell to convince those with the money to let someone rewrite something that’s working and has been for some time.
- pjmlp 5y agoThat is a noble goal, first LLVM and GCC need to be rewritten in one of those languages, then CUDA, Metal Shaders, DirectX, Tensorflow, Qt, WinUI, .... So even though managed languages and better systems programming languages are making their replacements, somewhere down the stack there will be C++. And then to top it, as long as people insist in using UNIX clones, C will be there as well.