A few years ago, the Chromium blog had an article about how it improved energy use by dehydrating parts of the JavaScript standard library from a snapshot instead of initializing it on demand. From what I remember, the snapshot was hundreds of megabytes.
Microsoft found something worse than Java
JavaScript
Javascript by itself isn’t an issue. Many applications use javascript without issue
The problem is chromium and bloated graphical frameworks
A few years ago, the Chromium blog had an article about how it improved energy use by dehydrating parts of the JavaScript standard library from a snapshot instead of initializing it on demand. From what I remember, the snapshot was hundreds of megabytes.
ECMAScript, the core language is fine.
JavaScript—with the DOM APIs—is not.