• @count_dongulus@lemmy.world
    link
    fedilink
    140
    edit-2
    25 days ago

    Cheaper & faster development by leveraging large libraries/frameworks, but inability to automatically drop most unused parts of those libraries/frameworks. You could in theory shrink Electron way down by yoinking out tons of browser features you’re not using, but there’s not much incentive to do it and it’d potentially require a lot of engineering work.

    • @zenpocalypse@lemm.ee
      link
      fedilink
      English
      5525 days ago

      Yeah, though the joke is funny, this is the real answer.

      Storage is cheap compared to creating custom libraries.

      • @Tanoh@lemmy.world
        link
        fedilink
        925 days ago

        Also the storage is the cost for the user, and google in the case of play store. So the developers have no incentive to reduce the size.

      • UnityDevice
        link
        fedilink
        English
        424 days ago

        Storage is cheap on a PC, it’s not cheap on mobile where it’s fixed and used as a model differentiator. They overcharge you so much. Oh, and they removed SD card slots from nearly all phones.

    • @Bytemeister@lemmy.world
      link
      fedilink
      English
      1425 days ago

      Yep. Apps are 20x bigger with no new features…that you are using.

      Let’s not forget that the graphics for applications has scaled with display resolution, and people generally demand a smooth modern look for their apps.

      • @lud@lemm.ee
        link
        fedilink
        119 days ago

        In the case of normal apps like PayPal graphics shouldn’t be a huge factor since it should be vectorized and there is pretty much no graphics in apps like PayPal.

        The issue comes from frameworks.

  • @cylon@programming.dev
    link
    fedilink
    3023 days ago

    Memory is cheap and data sells enough to many parties. Most apps are just store front for Ads and data collection.

    No wonder why open source apps are quite light.

    • @jmcs@discuss.tchncs.de
      link
      fedilink
      16325 days ago

      And analytics. And offloading as much computation to the client, because servers are expensive and inefficiency is not an issue if your users are the ones paying for it.

        • The Samsung shop hands out 1.4mb JSON responses for order tracking, with what I estimate 99% redundant information that is repeated many times in different parts of the structure.

    • @lobut@lemmy.ca
      link
      fedilink
      36
      edit-2
      25 days ago

      Web “Apps” are also quite bad. Lots of and lots of stuff we’re downloading and it feels clunky.

      Sometimes that’s bad coding, poor optimization, third party libraries, or sometimes just including trackers/ads on the page.

  • @enemenemu@lemm.ee
    link
    fedilink
    16825 days ago

    Paypal has 500 mb and just shows a number and you can press a button to send a number to their server.

    It’s insane

      • kratoz29
        link
        fedilink
        English
        1225 days ago

        LMAO, he also made me check it.

        347 MB for me, no wonder why I am always struggling with storage for my 128 GB phone (with not expandable storage of course), and I don’t even have that many games, even less ROMs 😅

    • @Onomatopoeia@lemmy.cafe
      link
      fedilink
      English
      1725 days ago

      Check out the apps Hermit and Native Alpha. They make web pages run like an app. I’ve only run into a couple sites where they don’t work right.

      • @enemenemu@lemm.ee
        link
        fedilink
        525 days ago

        Native alpha sounds good since it’s foss and uses vanadium’s webview. Are you still logged in to paypal (any annoying website) a couple of months later. Or does it revoke your rights after a while?

        I only use it rarely and I hate providing my info for 5 minutes just to do one transaction.

  • @the_wiz@feddit.org
    link
    fedilink
    Deutsch
    523 days ago

    Is this the appropriate point to reference the suckless community? I mean, that’s THE point of the movement…

    • @ogeist@lemmy.world
      link
      fedilink
      3025 days ago

      Bro, just use AI, bro, you don’t need developers, bro, also skip the testing, bro, who is going to hack your SaaS, bro

      • @Kekzkrieger@feddit.org
        link
        fedilink
        English
        1225 days ago

        Just let ai code bro its so much better and more reliable, just does what its told it works so good bro, ai is the future its so smart.

  • kamen
    link
    fedilink
    English
    1724 days ago

    I’d argue that deploying from one codebase to 3+ different platforms is new functionality, although not for the end user per se.

    I wish though that more of the web apps would come as no batteries included (by default or at least as a selectable option), i.e. use whatever webview is available on the system instead of shipping another one regardless of if you want it or not.

    • @Harlehatschi@lemmy.ml
      link
      fedilink
      924 days ago

      But if your tool chain is worth anything the size of each binary shouldn’t be bigger. To oversimplify things a bit: it’s just #ifdefs and a proper tool chain.

      In the web development world on the other hand everything was always awful. Every nodejs package has half the world as dependencies…

  • Dr. Wesker
    link
    fedilink
    English
    5225 days ago

    It’s the secret sauce, called unnecessary frameworks and user analytics modules.

    • Otter
      link
      fedilink
      English
      47
      edit-2
      25 days ago

      With that in mind, I LOVE how lean and fast some FOSS apps/projects are. One of my motivations to go searching for FOSS alternatives is when something seems slow for no reason.

      It’s not always the case, but it’s often the case

      • Björn Tantau
        link
        fedilink
        2225 days ago

        KDE Plasma has been getting so much more efficient with every release that you can almost recommend it for low-end systems.

        • CronyAkatsuki
          link
          fedilink
          1425 days ago

          I remeber using plasma on a weak 2016 160 usd laptop with no issue in 2018, I can only imagine how much better is now

          • ☂️-
            link
            fedilink
            12
            edit-2
            24 days ago

            lol my laptop is from 2012, i run gnome and kde easily. windows usually needs a round of debloating every update to be usable.

  • I Cast Fist
    link
    fedilink
    723 days ago

    “Program is slow? Just get better hardware, brah!!! It’s cheap, bruh!!!”

    Fuck you and anyone that thinks like that

  • @_____@lemm.ee
    link
    fedilink
    English
    1425 days ago

    There’s lots of valid reasons for this.

    Imo the biggest one people don’t account for is this: Dev salaries are incredibly high. if you want fast performance the most optimal way would be to target the platform and use low level native code, so C++ or Swift.

    It would cost you like 20x more than just using electron and it will cost you bigly if you have multiple platforms to maintain.

    So it turns out having 1 team crunching out an app on electron with hundreds of dependencies is cheaper, naturally that’s what most companies will do.

    Don’t want to use electron ? Then it’s kind of the same issue except this time you’re using Java and C# and you have to handle platform specific things on your own (think audio libraries for example). It’s definitely doable but will be more costly than using a cross platform chromium app.