cm0002@lemmy.world to Linux@programming.dev · 2 years agoLinux kernel source expands beyond 40 million lines – it has doubled in size in a decadewww.tomshardware.comexternal-linkmessage-square25linkfedilinkarrow-up1130arrow-down10file-text
arrow-up1130arrow-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 years agomessage-square25linkfedilinkfile-text
minus-squareSneezycat@sopuli.xyzlinkfedilinkarrow-up36·2 years agoTime to refactor the whole kernel into a one-liner!
minus-squaremilicent_bystandr@lemm.eelinkfedilinkarrow-up10·2 years agoA single line of lambda calculus. With about forty million parentheses.
minus-squareGolfNovemberUniform@infosec.pubdeleted by creatorlinkfedilinkEnglisharrow-up1arrow-down1·edit-22 years agoThat’s cheating. It won’t actually make the code smaller.
minus-squareGolfNovemberUniform@infosec.pubdeleted by creatorlinkfedilinkEnglisharrow-up1arrow-down1·2 years agoCommon sense. Just making the same code into a single line won’t change much.
minus-squarebrian@programming.devlinkfedilinkarrow-up8·2 years agothat doesn’t sound right, it’s so much smaller if it’s just one line
minus-squareGolfNovemberUniform@infosec.pubdeleted by creatorlinkfedilinkEnglisharrow-up1arrow-down2·2 years agoThe line will be like several quadrillion characters long though.
minus-squarebrian@programming.devlinkfedilinkarrow-up15·2 years 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