• TeamAssimilation@infosec.pub
    link
    fedilink
    arrow-up
    51
    arrow-down
    20
    ·
    edit-2
    13 hours ago

    Real programmers will write in a way that user’s resources are not being wasted because you need a full browser, a JS runtime, and DOM juggling, to show even the simplest application.

    It’s not rare for simple JS applications to consume over half a gigabyte of RAM on startup, and way more CPU than their native counterparts. That this was normalized and even defended is stupid.

    • hperrin@lemmy.ca
      link
      fedilink
      English
      arrow-up
      45
      ·
      12 hours ago

      I think you’re thinking of Electron apps, but that’s not really a criticism of JavaScript, that’s a criticism of Electron. There are plenty of JS platforms that don’t require a browser/DOM. React Native is the biggest example. Also, GJS if you want native Linux apps.