87

Among the 15~ million lines of codes in the GCC source code, there is a single CSS line.

Who dares to call CSS bloat now? More like GSS eh.

$ cloc gcc-13.2.0
github.com/AlDanial/cloc v 1.98  T=113.87 s (1029.7 files/s, 143776.9 lines/s)
---------------------------------------------------------------------------------------
Language                             files          blank        comment           code
---------------------------------------------------------------------------------------
C++                                  31144         610803         701522        2961450
C                                    50773         410175         635758        2033424
PO File                                 44         332336         443572         916826
Ada                                   6610         290082         396614         831278
Go                                    5347         102068         191016         769730
...
Brainf***                                1              3              4             10
Lisp                                     1              4             12              7
DOS Batch                                2              0              0              4
CSS                                      1              0              0              1
---------------------------------------------------------------------------------------
SUM:                                117256        2322548        2988111       11061312
---------------------------------------------------------------------------------------
all 17 comments
sorted by: hot top controversial new old
[-] SSUPII@sopuli.xyz 64 points 1 year ago
[-] sebastiancarlos@lemmy.sdf.org 37 points 1 year ago

magnificent

[-] duncesplayed@lemmy.one 26 points 1 year ago

When Elon Musk wants to see your top 10 most salient lines of code.

[-] sebastiancarlos@lemmy.sdf.org 15 points 1 year ago

it's surely one of the CSS lines of all time

[-] Deebster@lemmy.ml 13 points 1 year ago

Oh, so css is in there - I'd assumed it would be a false positive.

[-] gammarays@lemm.ee 22 points 1 year ago
[-] lars@lemmy.world 13 points 1 year ago* (last edited 1 year ago)
[-] drwho@beehaw.org 4 points 1 year ago
[-] lars@lemmy.world 8 points 1 year ago
[-] bahmanm@lemmy.ml 7 points 1 year ago* (last edited 1 year ago)

That single line of Lisp is probably (defmacro generate-compiler (...) ...) which GCC folks call every time they decide to implement a new compiler 😆

this post was submitted on 12 Sep 2023
87 points (97.8% liked)

Linux

48236 readers
640 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS