cm0002@lemmy.world to Linux@programming.dev · 2 个月前Linux kernel source expands beyond 40 million lines – it has doubled in size in a decadewww.tomshardware.comexternal-linkmessage-square22fedilinkarrow-up1120file-text
arrow-up1120external-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 个月前message-square22fedilinkfile-text
minus-squareSneezycat@sopuli.xyzlinkfedilinkarrow-up35·2 个月前Time to refactor the whole kernel into a one-liner!
minus-squareGolfNovemberUniform@infosec.publinkfedilinkEnglisharrow-up1·edit-22 个月前That’s cheating. It won’t actually make the code smaller.
minus-squareGolfNovemberUniform@infosec.publinkfedilinkEnglisharrow-up1·2 个月前Common sense. Just making the same code into a single line won’t change much.
minus-squarebrian@programming.devlinkfedilinkarrow-up8·2 个月前that doesn’t sound right, it’s so much smaller if it’s just one line
minus-squareGolfNovemberUniform@infosec.publinkfedilinkEnglisharrow-up1·2 个月前The line will be like several quadrillion characters long though.
minus-squarebrian@programming.devlinkfedilinkarrow-up15·2 个月前but if there’s a bug I’ll know exactly which line to look at
Time to refactor the whole kernel into a one-liner!
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