cm0002@lemmy.world to Linux@programming.dev · 2 months agoLinux kernel source expands beyond 40 million lines – it has doubled in size in a decadewww.tomshardware.comexternal-linkmessage-square26fedilinkarrow-up1129arrow-down10file-textcross-posted to: [email protected]
arrow-up1129arrow-down1external-linkLinux kernel source expands beyond 40 million lines – it has doubled in size in a decadewww.tomshardware.comcm0002@lemmy.world to Linux@programming.dev · 2 months agomessage-square26fedilinkfile-textcross-posted to: [email protected]
minus-squareSneezycat@sopuli.xyzlinkfedilinkarrow-up36·2 months agoTime to refactor the whole kernel into a one-liner!
minus-squaremilicent_bystandr@lemm.eelinkfedilinkarrow-up10·2 months agoA single line of lambda calculus. With about forty million parentheses.
minus-squareGolfNovemberUniform@infosec.publinkfedilinkEnglisharrow-up1arrow-down1·edit-22 months agoThat’s cheating. It won’t actually make the code smaller.
minus-squareGolfNovemberUniform@infosec.publinkfedilinkEnglisharrow-up1arrow-down1·2 months agoCommon sense. Just making the same code into a single line won’t change much.
minus-squarebrian@programming.devlinkfedilinkarrow-up8·2 months agothat doesn’t sound right, it’s so much smaller if it’s just one line
minus-squareGolfNovemberUniform@infosec.publinkfedilinkEnglisharrow-up1arrow-down2·2 months agoThe line will be like several quadrillion characters long though.
minus-squarebrian@programming.devlinkfedilinkarrow-up15·2 months agobut if there’s a bug I’ll know exactly which line to look at
Time to refactor the whole kernel into a one-liner!
A single line of lambda calculus.
With about forty million parentheses.
That’s cheating. It won’t actually make the code smaller.
source?
Common sense. Just making the same code into a single line won’t change much.
that doesn’t sound right, it’s so much smaller if it’s just one line
The line will be like several quadrillion characters long though.
but if there’s a bug I’ll know exactly which line to look at