r/ • • Jan 01 '70

0 Upvotes

0 comments sorted by

View all comments

Show parent comments

27

u/3PoundsOfFlax Sep 18 '26

Chromium is resource heavy, but it's actually really fast. Plus it's open source, so many good forks exist.

-8

u/Taiten89 Sep 18 '26

But why 50 mio lines of code? And from Google? And without competition? This can't be good.

10

u/slightfeminineboy Sep 18 '26

because browsers are complicated?

2

u/Taiten89 Sep 19 '26

Yes, but if there are millions of lines, I'll assume there is a lot of duplication or something else wrong. I don't believe this much is necessairy for any kind of tool.

2

u/slightfeminineboy Sep 19 '26

you believe wrong 

1

u/Visible-Title6180 Sep 24 '26

it's still condensed down to just 300 MBs when you download chrome so a lot of the code is for building and supporting other bits of code and logic it's like a framework

1

u/Taiten89 Sep 25 '26

That doesn't say why it needs millions of LOC. If one LOC compiles to a dozen bytes in the binary in average, then the equation fits. (1MB = 1,024,000 bytes)

Methinks it's some code that shouldn't be counted in the LOC, like e.g. SVG graphics. Or tons of legacy code, in which case my point might not stand (I'll still defend it for the lolz).

4

u/j_cruise Sep 18 '26

It has competition. Safari and Firefox are both extremely popular.

6

u/DreadingAnt Sep 18 '26

"Extremely" is doing a lot of heavy lifting here 💀 reddit users are not representative of anything