Re:Practical Guide to Bare Metal C++
by monocasa on Friday June 02, 2017 @04:29PM
(#14473058)
> I'm aware that I/O Kit is written in C++, I added that to my comment (maybe you saw the old version).
The danger of quick edits. : )
> Drivers are not really kernel per se, there are plenty of systems which have no drivers in the kernel (usually except RTC, which is in kernel in XNU anyway).
I mean, except more than half of the OSs you listed. And of those you listed that are microkernels, only QNX has gotten any serious traction.
> Also, it's not really C++, it's a pretty serious subset (lacking templates, multiple inheritance, exceptions, reflection, funky new casts [reinterpret_cast, static_cast, dynamic_cast, const_cast], and even namespaces(!)).
Yeah, compilers have come a really long way in the nearly 20 years since that was designed, but they want to keep ABI compatibility.
The danger of quick edits. : )
> Drivers are not really kernel per se, there are plenty of systems which have no drivers in the kernel (usually except RTC, which is in kernel in XNU anyway).
I mean, except more than half of the OSs you listed. And of those you listed that are microkernels, only QNX has gotten any serious traction.
> Also, it's not really C++, it's a pretty serious subset (lacking templates, multiple inheritance, exceptions, reflection, funky new casts [reinterpret_cast, static_cast, dynamic_cast, const_cast], and even namespaces(!)).
Yeah, compilers have come a really long way in the nearly 20 years since that was designed, but they want to keep ABI compatibility.