Linux Kernel contains only C code?

valdis.kletnieks at vt.edu valdis.kletnieks at vt.edu
Fri Jan 26 08:12:59 EST 2018


On Fri, 26 Jan 2018 05:53:20 -0500, Ruben Safir said:
> On 01/26/2018 02:20 AM, Larry Chen wrote:
> > I have never seen c++, perl or python code in kernel source tree.
> > Imagine that, if kernel relies on perl, python or other 3rd-party code,
> > will it cause nested or mutual dependency issues? 3rd-party code bugs
> > may also cause problems that make the kernel unstable.
>
>
> Its not even really C, at least not as a normal application developer
> thinks of it.  This is systems programming with a lot of kernel specific
> libraries.

It's C.  The fact that things like stdio aren't available inside the kernel
doesn't mean it's not C.

(I've worked on large userspace code bases where you could go for several
hundred thousand lines without seeing anything from /usr/include, and nobody
would argue that code wasn't C.)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 486 bytes
Desc: not available
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20180126/708c3cfe/attachment.sig>


More information about the Kernelnewbies mailing list