• pivot_root@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    7 days ago

    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.