0 votes
97 views
in Linux by
Why should Linux be rewritten in C++ and what are the disadvantages of rewriting Linux in C++?

1 Answer

0 votes
by
It is not necessary to rewrite Linux in C++, as Linux is already written in a combination of C and C++. Linux is an open-source operating system that is widely used in a variety of devices, including smartphones, servers, and personal computers.

While C++ is a powerful programming language, it is not necessarily the best choice for all purposes. Linux is written in C and C++ because these languages are well-suited for operating system development. C is a low-level language that provides access to the underlying hardware, while C++ provides object-oriented and generic programming features that are useful for complex software systems. Rewriting Linux in C++ alone would not provide any significant benefits, and it would likely be a time-consuming and difficult undertaking.
...