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 Jun 22

What are the alternatives to unit tests?

When I was in university, I had a lecturer who didn't like unit tests. He was a...

READ POST
Follow @kayis to see more of their posts in your feed.
Meghan 🌺
21. Student. Dreamer. Doer. On a mission to change the world with code. she/her
More from @nektro
I made a JS Module so you can *almost* use the pipeline operator today!
#showdev #javascript #polyfill #esnext
Have blocks return the last statement with the Comma Operator
#javascript #webdev
Trending on dev.to
That's one small step for a developer, one giant leap for the web
#javascript #webdev
Module Monday 13: Transparent navbar, Team page, SoundCloud embed & more
#showdev #opensource #webdev #javascript
Universal next gen css-in-js library in under 1kb
#showdev #javascript #css
Shipping React Native apps with Fastlane and Travis
#reactnative #fastlane #javascript
Finally in Promises & Try/Catch
#javascript #learning #programming
Demystifying Webpack
#webdev #frontend #backend #javascript
Why JavaScript is an OOP Language (Even Though It Doesn't Have Classes)
#javascript #computerscience #programming #programminglanguages
Lets Build Web Components! Part 1: The Standards
#webcomponents #customelements #javascript #html