r/BeAmazed • • 26d ago

Technology 51 million lines of code. Chromium codebase.

Enable HLS to view with audio, or disable this notification

7.6k Upvotes

321 comments sorted by

View all comments

993

u/CSouthLondon 26d ago

Can explain this to me as if I were a small child...or a golden retriever...it wasn't brains that got me here, I can assure you of that

823

u/GreyGanado 26d ago

Every rectangle is a file with text in it. There's a lot of text that tells the browser what to do.

234

u/NeighborhoodPrior956 26d ago

it's badixally 5x the biggest spreadsheet you've ever seen plus a more thorough instruction manual than any human had ever completed

32gb of ram is just a spreadsheet with 32 billion rows

19

u/DreadingAnt 25d ago

Linux kernel code next

10

u/flyingPizza456 25d ago

Upvote for badixally

That's a thing

2

u/adoodle83 25d ago

no it really isn’t.

2

u/Embarrassed-Rise-685 23d ago

I can assure you no spreadsheet with 32 billion rows is loading in excel on a mere 32gb ram. Even if it theoretically fits with the filesize

1

u/NeighborhoodPrior956 23d ago

i meant it more as a metaphor, that 32 gigabytes is just a table of 32 billion bytes, but you're absolutely correct.

excel is a steaming pile of all of the worst half-assed half-measures microsoft could muster, just so they could save negative 3 bazillion dollars on maintenance time.

156

u/Ixaire 26d ago

Go! Fetch the memory leak. Who's a good boy? Who's a good boy? That's riiiight.

38

u/everyoneisapotato 26d ago

Hahahaha nice reference!!

20

u/Significant-Run8172 25d ago

I appreciate the Margin Call reference

9

u/jjb0ne 25d ago

sell it all. today

4

u/AnArmoredPony 25d ago

woof woof, woof, grrr woof

3

u/JustAwesome360 25d ago

There's 51 million lines of code

51 million is a big boy number

3

u/dragon_idli 25d ago

Green - good. Red - not good. Mostly green - browser works.

2

u/Artix96 25d ago

Majority of the code accounts for legacy stuff and security. Actual functionality is probably 10%

1

u/At_Space_Station 22d ago

Lotta words make google search run,lotta words stacked together in rectangles for good looking,too much words makes word rectangles look less word and more big shapes.

1

u/ThemGoblinsAreMad 19d ago

This is just a fancy visualization of the code base where we see all the files of code that runs the browser in a single view, no one actually codes like this, you usually have one file and switching between them etc

1

u/Groundbreaking-Bar68 19d ago

Upvote for margin call reference

-17

u/UnapproachableBadger 26d ago

It's AI bullshit. Amusing bullshit.

4

u/Sloth_Devil 26d ago

Bruh that's literally just code. Not everything that looks like a terminal is AI ffs

3

u/KaleidoscopePlusPlus 25d ago

These guys lost their damn mind calling everything AI lol.

All of this code is opensource and most of it was written well before AI came into the picture

1

u/HyperWinX 26d ago

What lmfao