Re:Fuchsia is not Linux
by Matthias247 on Friday April 13, 2018 @09:10AM
(#16829613)
> 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.
BMW 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_failur...
Page 12 on the second slideset.
Re:Fuchsia is not Linux
by lemoncucumber on Friday April 13, 2018 @02:31AM
(#16827560)
IOKit 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++.
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.