C, still?
C, still?
Posted Sep 20, 2017 5:34 UTC (Wed) by Cyberax (✭ supporter ✭, #52523)In reply to: C, still? by eru
Parent article: Building the kernel with Clang
Kernel is nothing special. Most of the code in Linux is bog-standard C code, except that it uses somewhat unusual "standard library". Rewriting it in something more expressive would easily allow to reduce the kernel size by 2-3 times, if not more.
Truly low-level code is a very small percentage of Linux.
But anyway, Linux is not going to be rewritten in anything any time soon.