this post was submitted on 26 Jan 2025
129 points (100.0% liked)

Linux

8500 readers
285 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
 

Milestone passed with the debut of Linux 6.14 rc1.

you are viewing a single comment's thread
view the rest of the comments
[–] sneezycat@sopuli.xyz 36 points 5 months ago (2 children)

Time to refactor the whole kernel into a one-liner!

[–] milicent_bystandr@lemm.ee 10 points 5 months ago

A single line of lambda calculus.

With about forty million parentheses.

[–] GolfNovemberUniform@infosec.pub 0 points 5 months ago* (last edited 5 months ago) (1 children)

That's cheating. It won't actually make the code smaller.

[–] brian@programming.dev 6 points 5 months ago (1 children)
[–] GolfNovemberUniform@infosec.pub 0 points 5 months ago (1 children)

Common sense. Just making the same code into a single line won't change much.

[–] brian@programming.dev 8 points 5 months ago (1 children)

that doesn't sound right, it's so much smaller if it's just one line

[–] GolfNovemberUniform@infosec.pub -1 points 5 months ago (1 children)

The line will be like several quadrillion characters long though.

[–] brian@programming.dev 15 points 5 months ago

but if there's a bug I'll know exactly which line to look at