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