this post was submitted on 12 Sep 2023
81 points (97.6% liked)

Linux

45601 readers
1114 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
 

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 16 comments
sorted by: hot top controversial new old
[–] [email protected] 60 points 10 months ago (3 children)
[–] [email protected] 34 points 10 months ago

magnificent

[–] [email protected] 25 points 10 months ago (1 children)

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

[–] [email protected] 14 points 10 months ago

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

[–] [email protected] 11 points 10 months ago

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

[–] [email protected] 22 points 10 months ago (2 children)
[–] lars 13 points 10 months ago* (last edited 10 months ago)
[–] lars 11 points 10 months ago
[–] [email protected] 5 points 10 months ago* (last edited 10 months ago)

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