0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · 7 months agoSupreme leader madsh.itjust.worksimagemessage-square7fedilinkarrow-up14arrow-down10
arrow-up14arrow-down1imageSupreme leader madsh.itjust.works0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · 7 months agomessage-square7fedilink
minus-squaretubbadu@lemmy.kde.sociallinkfedilinkarrow-up1·7 months agoIs there some lore about this I don’t know?
minus-squareBartyDeCanter@lemmy.sdf.orglinkfedilinkarrow-up3·7 months agoThere is no C++ allowed in the Linux kernel and Linus has gone on several major rants about how terrible a language it is.
minus-squareBartyDeCanter@lemmy.sdf.orglinkfedilinkarrow-up2·7 months agoAccording 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.
minus-squareozymandias117@lemmy.worldlinkfedilinkEnglisharrow-up1·7 months agoThere’s assembly and makefiles too Less of a joke answer, there has been work to allow Rust bindings for drivers.
minus-squareTitou@sh.itjust.workslinkfedilinkarrow-up1·6 months agoLinus is a C advocate btw, which make him even more goated
Is there some lore about this I don’t know?
There is no C++ allowed in the Linux kernel and Linus has gone on several major rants about how terrible a language it is.
Is it all C?
According to the github analysis, the kernel repository is:
So yeah, its basically all C, plus a tiny bit of assembly for very low level bootstrapping and some helper scripts.
There’s assembly and makefiles too
Less of a joke answer, there has been work to allow Rust bindings for drivers.
Linus is a C advocate btw, which make him even more goated