Why do Web browsers famously use so much RAM?

Is it because every character in Strings are UTF-16 and every Number is a float64, the sheer number of objects in the average page, or because JS is a VM language? Something else?

@see
https://tc39.github.io/ecma262/#sec-terms-and-definitions-string-value
https://tc39.github.io/ecma262/#sec-terms-and-definitions-number-value

Did you find this post useful? Show some love!
DISCUSSION
Classic DEV Post from Oct 5

If I knew then what I know now

If can go back in time, this is what I will tell to my younger (dev) self

Meghan 🌺
22. Local trans girl witch who uses a staff by night and a keyboard by day.

dev.to is where software developers stay in the loop and avoid career stagnation.

Sign up (for free)