3 ms·
There is code in the kernel to enable treating types like `os_log_t` and Clang blocks as Objective-C objects higher up the stack, but the XNU kernel itself is a
by favorited 2y ago
There is code in the kernel to enable treating types like `os_log_t` and Clang blocks as Objective-C objects higher up the stack, but the XNU kernel itself is almost entirely C and C++.
- mpweiher 2y agoYeah, on macOS. On NeXTStep / OPENSTEP kernel drivers could be and were written in Objective-C. https://www.nextcomputers.org/files/manuals/nd/OperatingSystem/Part3_DriverKit/Reference/Classes/IntroDriverKitClasses.htmld/index.html https://www.nextcomputers.org/files/manuals/nd/OperatingSyst...