• The_Decryptor@aussie.zone
    link
    fedilink
    English
    arrow-up
    6
    ·
    2 days ago

    While there’s an overhead to safer runtime environments, I wouldn’t put much blame there. I feel like “back in the day” when something was inefficient you noticed it quicker because it had a much larger impact, windows would stop updating, the mouse would get laggy, music would start stuttering. These days you can take up 99% of the CPU time and the system will still chug along without any of those issues showing.

    I remember early Twitter had a “famous” performance issue, where the sticky heading bar would slow systems down, because they were re-scanning the entire page DOM on every scroll operation to find and adjust the header, rather than just caching a reference to it. Meanwhile yesterday I read an article about the evolution of the preferences UI in Apple OSs, that showed them off by running each individual version of said OS in VMs embedded within the page. It wasn’t snappy, but it didn’t have the “entire system slows down and stops responding” issues you saw a decade or so ago.

    Basically, devs aren’t being punished (by tooling) for being inefficient, so they don’t notice when they are, and newer devs never realise they need to.