GCC embraces web technologies with one (1) line of CSS.

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.


<span style="color:#323232;">$ cloc gcc-13.2.0
</span><span style="color:#323232;">github.com/AlDanial/cloc v 1.98  T=113.87 s (1029.7 files/s, 143776.9 lines/s)
</span><span style="color:#323232;">---------------------------------------------------------------------------------------
</span><span style="color:#323232;">Language                             files          blank        comment           code
</span><span style="color:#323232;">---------------------------------------------------------------------------------------
</span><span style="color:#323232;">C++                                  31144         610803         701522        2961450
</span><span style="color:#323232;">C                                    50773         410175         635758        2033424
</span><span style="color:#323232;">PO File                                 44         332336         443572         916826
</span><span style="color:#323232;">Ada                                   6610         290082         396614         831278
</span><span style="color:#323232;">Go                                    5347         102068         191016         769730
</span><span style="color:#323232;">...
</span><span style="color:#323232;">Brainf***                                1              3              4             10
</span><span style="color:#323232;">Lisp                                     1              4             12              7
</span><span style="color:#323232;">DOS Batch                                2              0              0              4
</span><span style="color:#323232;">CSS                                      1              0              0              1
</span><span style="color:#323232;">---------------------------------------------------------------------------------------
</span><span style="color:#323232;">SUM:                                117256        2322548        2988111       11061312
</span><span style="color:#323232;">---------------------------------------------------------------------------------------
</span>
bahmanm,
@bahmanm@lemmy.ml avatar

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

igorlogius,

but why?

mkwt,

Looking at the link that was posted it appears to be a dummy CSS file to test some part of the go standard library that works with html and CSS.

lars,
SSUPII,
sebastiancarlos,

magnificent

duncesplayed,

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

sebastiancarlos,

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

Deebster,
@Deebster@lemmy.ml avatar

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

gammarays,

Brainfuck? Really?

lars, (edited )
igorlogius,

Brainf***

Better questions who or what did the censoring? lemmy, cloc, OP ?

sebastiancarlos,

It was OP

igorlogius,

Thanks for the info :) +1

juliebean,

idk what cloc is, but i’m guessing your client is the cause, as it reads as ‘brainfuck’ to me, no censoring.

edit: nevermind, i thought you were seeing the above commenter as censored, i hadn’t even seen it in the OP.

drwho,
@drwho@beehaw.org avatar

Really.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • DreamBathrooms
  • mdbf
  • osvaldo12
  • magazineikmin
  • GTA5RPClips
  • rosin
  • thenastyranch
  • Youngstown
  • cubers
  • slotface
  • khanakhh
  • kavyap
  • InstantRegret
  • Durango
  • JUstTest
  • everett
  • ethstaker
  • cisconetworking
  • provamag3
  • Leos
  • modclub
  • ngwrru68w68
  • tacticalgear
  • tester
  • megavids
  • normalnudes
  • anitta
  • lostlight
  • All magazines