3 ms·
I guess by OS programming I assumed they meant the kernel. Fuchsia is hardly an established OS at the moment so I don't really compare against it, and for Windo
by mehrdadn 8y ago
I guess by OS programming I assumed they meant the kernel. Fuchsia is hardly an established OS at the moment so I don't really compare against it, and for Windows, MS's documentation has repeatedly discouraged C++. I'm sure some use C++ in the kernel anyway but I'm not under the impression it's generally accepted.
- pjmlp 8y agoAll the examples I gave, except for Fuchsia, are examples of C++ in production for kernel code. Windows has been slowly moving into C++ since Windows 8, as Microsoft considers C++ the future of systems programming in Windows. https://docs.microsoft.com/en-us/cpp/build/reference/kernel-create-kernel-mode-binary?view=vs-2017 https://docs.microsoft.com/en-us/cpp/build/reference/kernel-... https://www.reddit.com/r/cpp/comments/4oruo1/windows_10_coded_in_c_or_assembler/d4g9we9/ https://www.reddit.com/r/cpp/comments/4oruo1/windows_10_code...
- mehrdadn 8y agoWow that's good to hear, thanks. (I wasn't familiar with the other OSes so that's why I didn't comment on them.)
- pjmlp 8y agoHere is some information for you, or anyone else, to look into then. https://os.mbed.com/docs/mbed-os/v5.11/apis/drivers.html https://os.mbed.com/docs/mbed-os/v5.11/apis/drivers.html https://developer.apple.com/library/archive/documentation/DeviceDrivers/Conceptual/IOKitFundamentals/Introduction/Introduction.html?language=objc#//apple_ref/doc/uid/TP0000011 https://developer.apple.com/library/archive/documentation/De... https://genode.org/documentation/genode-foundations-18-05.pdf https://genode.org/documentation/genode-foundations-18-05.pd... https://www.haiku-os.org/docs/api/ https://www.haiku-os.org/docs/api/ https://source.android.com/devices/architecture https://source.android.com/devices/architecture https://source.android.com/devices/architecture/hidl-cpp/index.html https://source.android.com/devices/architecture/hidl-cpp/ind... https://www.amazon.com/Symbian-OS-Internals-Real-time-Programming/dp/0470025247 https://www.amazon.com/Symbian-OS-Internals-Real-time-Progra...