you are viewing a single comment's thread
view the rest of the comments
[–] 85 points 2 years ago (2 children)

According to the github analysis, the kernel repository is:

  • C 98.3%
  • Assembly 0.7%
  • Shell 0.4%
  • Makefile 0.2%
  • Python 0.2%
  • Perl 0.1%
  • Other 0.1%

So yeah, its basically all C, plus a tiny bit of assembly for very low level bootstrapping and some helper scripts.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 30 points 2 years ago (1 child)

    Yeah but a lot of that C code has inline assembly so it's more like 5-10% asm.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 13 points 2 years ago (1 child)

    Inline assembly is such a shit practice. But c++ bad.

  • source
  • parent
  • hideshow 2 child comments