News for hackers. Stuff that matters.
Re:Windows Kernel-Mode Drivers Written in Rust by poizan42 on Wednesday April 13, 2016 @02:08PM (#11490689)
This is not at all true. Microsoft has recommended for a long time that new drivers use WDF which is a C++ library
Re:Windows Kernel-Mode Drivers Written in Rust by tobias3 on Wednesday April 13, 2016 @03:08PM (#11491227)
Do you have a source for that? KMDF seems to be a C-API.
Re:Windows Kernel-Mode Drivers Written in Rust by poizan42 on Wednesday April 13, 2016 @03:47PM (#11491568)
I meant it's written in C++[0]. The interface is exported through standard C functions, but the header files also have the declarations guarded with "extern "C"".

Microsoft do have some sample drivers that are written in C++, e.g. https://github.com/Microsoft/Windows-driver-samples/tree/mas...

[0]: https://github.com/Microsoft/Windows-Driver-Frameworks/tree/...

Re:Windows Kernel-Mode Drivers Written in Rust by drv on Wednesday April 13, 2016 @03:36PM (#11491468)
It has a C API, but everything under the hood is C++. The source is actually public now: https://github.com/Microsoft/Windows-Driver-Frameworks