• I Cast Fist@programming.dev
    link
    fedilink
    English
    arrow-up
    40
    arrow-down
    6
    ·
    9 months ago

    Here’s an idea to start making it better: ditch fucking electron. There are alternatives that won’t need complete code rewrite or language change (tauri, neutralino). Better yet, actually go ahead with a full language change and pick Dart + Flutter, that shit is crossplat.

    But we all know they won’t, because fuck you, “ram is cheap”. Good luck upgrading the ram on your phone.

    • ByGourou@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      12
      arrow-down
      2
      ·
      edit-2
      9 months ago

      It run fine on my 7 years old phone. Sure, native would be better, but electron mean they can make the website, the windows app and the android app all at once. So it’s worth it. Everyone on Lemmy is a programmer, so you should know how hard it is to support multiple version of a service with as much active developpement as discord.

        • ByGourou@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          3
          ·
          9 months ago

          I didn’t know about that, sorry I missed it in you original comment. Then maybe theses frameworks are too young or have some kind of limitation, or just discord did not switch yet, but I hope they do. I know optimisation is not important for most company but if the switch is free they should do it.

    • Aatube@kbin.social
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      9 months ago

      They used to be native with Kotlin on Android and IDK on iOS. Now they use React Native, which isn’t really electron or native. I’m not sure if it bundles a browser but it sounds like the same as Tauri and Neutralino