Get the latest tech news

A 2024 Discussion Whether To Convert The Linux Kernel From C To Modern C++


serviscope_minor shares a Phoronix post: A six year old Linux kernel mailing list discussion has been reignited over the prospects of converting the Linux kernel to supporting modern C++ code. The Linux kernel is predominantly made up of C code with various hand-written Assembly plus the growing wo...

While it's not clear yet if there's sufficient weight to make it a reality, a Linux kernel mailing list discussion has been restarted over potentially seeing the Linux kernel C code converted to C++ in the future. Back on 1 April 2018 was a set of 45 patches by Red Hat engineer David Howells to begin converting the kernel to C++. This would allow the mainline kernel to make use of inline template functions, inline overloaded functions, class inheritance, and other features not currently supported by the Linux kernel with its C code.

Get the Android app

Or read this on Slashdot

Read more on:

Photo of Discussion

Discussion

Photo of linux kernel

linux kernel

Photo of modern c++

modern c++

Related news:

News photo

Biggest Linux Kernel Release Ever Welcomes bcachefs File System, Jettisons Itanium

News photo

Linux Kernel 4.14 Reaches End of Life After More Than Six Years of Maintenance

News photo

Tuning the Linux kernel with AI brings significant performance improvements