4 ms·
C++ has shrunk a lot in the mindshare since its peak in mid-90s. And Rust is the trendy thing now in the same space.
by varjag 9y ago
C++ has shrunk a lot in the mindshare since its peak in mid-90s. And Rust is the trendy thing now in the same space.
- pjmlp 9y agoOnly if we are speaking about enterprise CRUD apps that used to be done in MFC, OWL, VCL, Motif++. OpenCL lost to CUDA because it did not natively supported C++, only when it was too late. NVidia has designed Volta specifically to run CUDA C++ code. There is no C left on game consoles SDKs or major middleware engines. All major C compilers are written in C++. Microsoft has replaced their C runtime library by one written in C++, exposing the entry points as extern "C". Beyond the Linux kernel, all native parts on Android are written in C++. The majority of deep learning APIs being used from Python, R and friends are written in C++. Darwin uses a C++ subset on IO Kit, and Metal shaders are C++14. AUTOSAR has updated their guidelines to use C++14 instead of C. All major modern research OSes are being done in C++, like Genode. Arduino Wiring and ARM mbed are written in C++. As for Rust, while I do like it a lot, it still cannot compete with C++ in many key areas, like amount of supported hardware, GUI frameworks and available tooling.
- mlvljr 9y agoWill be call OP a liar, fanboy gents?
- lemoncucumber 9y agoIOKit dates to c. 2000 so it’s hardly a modern example and even people at Apple bitch about the fact that they went with C++.
- pjmlp 9y agoMost likely because they dropped Objective-C driver framework from NeXTSTEP. They are surely a vocal minority, otherwise Metal shaders wouldn't be C++14.
- Matthias247 9y ago> AUTOSAR has updated their guidelines to use C++14 instead of C. Really? Interesting thing. You mean for "standard/legacy" autosar, or for the new "dynamic" variant? When I was back in automotive, the autosar design(s) where probably the ones software people were mostly complaining about.
- pjmlp 9y agoBMW were the ones pushing it. I am no expert there, learned it from their presentation at FOSDEM last year. https://archive.fosdem.org/2017/schedule/event/succes_failure_autonomous_driving/ https://archive.fosdem.org/2017/schedule/event/succes_failur... Page 12 on the second slideset.