top | item 29952527

(no title)

gk1256 | 4 years ago

I like the UI, but I'm disappointed to find that the author is using orthodox C++ instead Modern C++

discuss

order

garaetjjte|4 years ago

I guess they don't want to kill their compile times.

phendrenad2|4 years ago

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.

gk1256|4 years ago

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.

ncmncm|4 years ago

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.