• cylon@programming.dev
    link
    fedilink
    arrow-up
    30
    ·
    6 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.

  • buddascrayon@lemmy.world
    link
    fedilink
    arrow-up
    22
    ·
    6 days ago

    Oh, they have new functionality. It’s all in the back end, detailing everything you do and sending it to the parent company so they can monetize your life.

  • the_wiz@feddit.org
    link
    fedilink
    Deutsch
    arrow-up
    5
    ·
    6 days ago

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

  • x4740N@lemm.ee
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    6 days ago

    Lazy devs not removing old non functional commented code and background code additions ?

    Though I do get it if they don’t want to remove the old code if their employer is an asshole

    • SketchySeaBeast@lemmy.ca
      link
      fedilink
      English
      arrow-up
      4
      ·
      6 days ago

      That’s not why. It’s the dependency trees that run a dozen layers deep and end up importing “isEven”. If you’re building a react app odds are good you’ll import way more code than you ever write yourself.

      And no one should be leaving commented-out code in their app, that’s what source control is for.

  • Aux@feddit.uk
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    4
    ·
    7 days ago

    Most resources are not consumed by wonky code or dependencies. Most resources are consumed by images and sounds.

      • Aux@feddit.uk
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        6 days ago

        Every decent piece of software has crap loads of resources: icons, texts, translations, manuals, sounds, fonts, etc. Even hello world app contains at least one resource - “hello world” string and what’s funny is that executable meta data required by operating systems and the string take more space than the actual code to print this string.

  • Stovetop@lemmy.world
    link
    fedilink
    arrow-up
    339
    ·
    8 days ago

    It’s just that we have to make space for our 5,358 partners and the telemetry data they need.

    • jmcs@discuss.tchncs.de
      link
      fedilink
      arrow-up
      164
      arrow-down
      1
      ·
      8 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.

      • kbotc@lemmy.world
        link
        fedilink
        English
        arrow-up
        19
        ·
        8 days ago

        I saw an ad request with an inline 1.4 MB game. Like, you could fit Mario in there.

        • state_electrician@discuss.tchncs.de
          link
          fedilink
          arrow-up
          9
          ·
          7 days ago

          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
      arrow-up
      36
      ·
      edit-2
      8 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
    arrow-up
    168
    ·
    8 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@lemm.ee
        link
        fedilink
        English
        arrow-up
        13
        arrow-down
        1
        ·
        8 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
      arrow-up
      17
      ·
      8 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
        arrow-up
        5
        ·
        8 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.

  • count_dongulus@lemmy.world
    link
    fedilink
    arrow-up
    140
    ·
    edit-2
    8 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
      arrow-up
      55
      ·
      8 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
        arrow-up
        9
        ·
        7 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@lemmy.zip
        link
        fedilink
        English
        arrow-up
        4
        ·
        7 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.

        • IsThisAnAI@lemmy.world
          link
          fedilink
          arrow-up
          4
          arrow-down
          2
          ·
          7 days ago

          Nah it’s fine. Clean up used apps every once in a while. Base phones have more than enough space.

    • Bytemeister@lemmy.world
      link
      fedilink
      English
      arrow-up
      19
      arrow-down
      5
      ·
      8 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
        arrow-up
        1
        ·
        2 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.