News for hackers. Stuff that matters.
Re:Essence: Desktop operating system built from scratch by phendrenad2 on Saturday January 15, 2022 @11:42PM (#29953419)
For the kernel, or for the user-mode applications? C++ features aren't very useful for kernels. Presumably the author is more familiar with C and "C with classes" C++ and someone can rewrite the user-mode apps in modern C++ later.
Re:Essence: Desktop operating system built from scratch by gk1256 on Monday January 17, 2022 @06:49AM (#29965631)
Both. SerenityOS, includeOS, Managarm used Modern C++ for Kernel. For example, Managarm used coroutines and Templates also RAII stuff like lock_guard in it's kernel.
Re:Essence: Desktop operating system built from scratch by ncmncm on Monday January 17, 2022 @12:07PM (#29968724)
It is foolish to assert that "C++ features aren't very useful for kernels". C++ features are useful for programs, particularly big programs. Kernels are big programs.