News for hackers. Stuff that matters.
Re:Haiku R1/beta4 has been released by pjmlp on Saturday December 24, 2022 @04:25AM (#34115312)
Assuming Apple's success by going with Be instead of NeXT, we would have yet another mainstream OS where C++ plays a major role, thus settling the whole discussiong regarding C vs C++ for OS design.
Re:Haiku R1/beta4 has been released by zozbot234 on Saturday December 24, 2022 @04:40AM (#34115375)
Linus Torvalds has settled that whole discussion, by rejecting C++ and subsequently adopting Rust. Even Windows is basically written in C in its lowest layers anyway, they apparently don't find C++ itself very useful.
Re:Haiku R1/beta4 has been released by pjmlp on Saturday December 24, 2022 @05:21AM (#34115568)
Linus Torvalds has settled that whole discussion for the Linux kernel.

Thankfully his opinion about C++ is meaningless outside Linux world.

Windows started to adopt C++ on the kernel since Vista, you can make use of Windows Implementation Library, a C++ template library for kernel, drivers and userspace code. Just gotta to love that VC++ /kernel flag.

macOS with its NeXTSTEP heritage, changed from having Objective-C drivers on kernel space to C++ drivers in kernel space.

Then if you bother to broaden your horizons beyond FOSS UNIX clones, there are enough OSes already shipping C++ on the kernel.