• boonhet@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    1 day ago

    This shouldn’t surprise anyone. Windows, Apple and Android, and the companies that develop software that run on Windows, Apple, and Android, have all fallen into the habit of writing unoptimized, bloated code

    Same goes for anyone who develops software that runs on Linux or more importantly, the Web. Unless we’re talking about command line utilities, which truly are bloatless. But they’re that way on MacOS too.

    The issue is that 99% of the time you want your user interface to be graphical, and you want it to run on multiple platforms, unless you’re a Windows-only shop (realistically the only operating system you can afford to have as the ONLY target). But every OS has different libraries and frameworks for native GUI, so your options are Web technologies and either run it in the browser or package it in Electron, or a cross-platform native GUI framework. Those inevitably have worse performance than truly platform-native code, but not as bad as Electron. Inevitably, everything is running on Electron because it’s just easier to take your existing web app and repurpose it for desktop via Electron than develop two separate apps. And the web app itself, without Electron, is already shit. Why is it shit? Because Javascript is shit, the DOM is shit, everything is shit. We’ve been adding more and more and more to tech from the 1990s. It keeps growing in complexity and we’re just doomed.

    Maybe WASM will fix parts of this, but at present time you can’t write a full web application in WASM without any Javascript involved. And you still have the DOM, and probably CSS, etc… All of which just suck ass.

    Now, you CAN write an efficient UI in pure Javascript, maybe using jQuery, but not a big framework like React or Vue… But then you’ll find out duplicating so much work, it’ll take 3-5x as long to ship the product.