Re:Writing an OS in Rust: Advanced Paging
by mehrdadn on Monday January 28, 2019 @10:12AM
(#19017999)
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.
All 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-...
https://www.reddit.com/r/cpp/comments/4oruo1/windows_10_code...
Re:Writing an OS in Rust: Advanced Paging
by mehrdadn on Monday January 28, 2019 @12:36PM
(#19019316)
Wow that's good to hear, thanks. (I wasn't familiar with the other OSes so that's why I didn't comment on them.)
Here 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://developer.apple.com/library/archive/documentation/De...
https://genode.org/documentation/genode-foundations-18-05.pd...
https://www.haiku-os.org/docs/api/
https://source.android.com/devices/architecture
https://source.android.com/devices/architecture/hidl-cpp/ind...
https://www.amazon.com/Symbian-OS-Internals-Real-time-Progra...
Symbian, BeOS, Haiku, Genode, ARM mbed, macOS IO Kit, Android (specially after Treble), Fuchsia, Windows, IBM mainframes (old PL/S code has been partially replaced with C++) ...