• ExtremeDullard@piefed.social
    link
    fedilink
    English
    arrow-up
    84
    ·
    2 days ago

    What you discovered is that today’s mediocre developers implement everything in web browsers, or web brower-like frameworks like Electron, and set them up to masquerade as normal applications, but with 100x the disk, RAM and CPU footprint.

    • BurgerBaron@piefed.social
      link
      fedilink
      English
      arrow-up
      16
      ·
      2 days ago

      I ran into a consequence of Fedora doing that. Their installer application crashes when running under an old GTX1060 with Nouveau’s nShitia drivers in live USB mode.

      • alakey@piefed.social
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 days ago

        Oh is that why that happens? I just thought Nouveau drivers were incompatible with old Nvidia cards.

        • BurgerBaron@piefed.social
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 days ago

          Maybe they are lol, basically every distro exploded on that old rotbox at some point in a variety of fun ways before I could get something installed except Mint. Well anything Arch based would work too, just isn’t a PC that gets used often.

          • alakey@piefed.social
            link
            fedilink
            English
            arrow-up
            2
            ·
            2 days ago

            I installed Cachy on a GTX980 PC, but had to use nomodeset, so if you wanna install some distros that are using incompatible drivers in the live ISO give nomodeset a try.

    • onlinepersona@programming.dev
      link
      fedilink
      arrow-up
      12
      ·
      2 days ago

      Let’s be honest, it’s the easiest. I’ve been trying to write UIs in pure rust and python recently and let me tell you, it’s a drag.

      Some frameworks don’t even support writing your own components, some don’t allow reusing parts of the UI, some don’t even have proper layout engines you can modify, theming can be difficult, others dont have reactive values, most don’t have a fast dev loop (make a change, see it, repeat), and so on. I’ve even tried using game engines like Godot and Bevy.

      We like complaining about Electron, but let’s be serious, as bad as it is, the other stuff is worse.

      • mimavox@piefed.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 hours ago

        There are some good, new things in that space though. One example is Flet which lets you write Flutter apps in Python. It’s quite fun to work with, and the same code can be deployed to multiple platforms, both desktop and mobile.

      • FishFace@piefed.social
        link
        fedilink
        English
        arrow-up
        10
        ·
        2 days ago

        Writing stuff in a proper gui framework using the tools we’ve had for decades is not really that bad, it’s just not what all the tutorials are for. CSS can be an absolute pig to get things just so, or was until quite recently.

        • onlinepersona@programming.dev
          link
          fedilink
          arrow-up
          2
          ·
          2 days ago

          CSS is terrible, no doubt about it, but the problem is exactly that: native GUI frameworks haven’t changed in the way they work. Why else do you think electron became popular? Obviously there was reason for it

          • FishFace@piefed.social
            link
            fedilink
            English
            arrow-up
            3
            ·
            2 days ago

            I think it became popular because you can deliver the same app to mobile and desktop platforms. And because js gave people a very easy intro to development on the web so tons of people know it.

            I don’t think it became popular because it was better at making an application on a single target. I’ve never made a webapp with the equivalent of GLADE or QtCreator so I don’t know if it even exists - but those tools are very decent if you had a basic understanding of UI layout.

            • bitfucker@programming.dev
              link
              fedilink
              arrow-up
              1
              ·
              12 hours ago

              Then why can’t QT provide the same benefit of delivering cross platform developing experience? See, that is the core issue. You write FOR the platform not for yourself. In the web space, the platform writes FOR you lest they want to break compliance with the rest of the web standard. When you are writing web application, you are writing program in a standard that the platform WILL follow instead of you following whatever the platform dictates at the time of their convenience

          • FishFace@piefed.social
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 days ago

            What RT interfaces do electron apps let you use ;)

            I’m confused why Qt Creator wasn’t available - is this project old enough to vote or was there some technical reason :P

    • rozodru@piefed.world
      link
      fedilink
      English
      arrow-up
      7
      ·
      2 days ago

      looking at you Discord. hell also looking at you vesktop, equibop, whatever “better” discord client is out there. majority are just electron web apps.

      • OwOarchist@pawb.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 days ago

        You see, that’s why when I need to use Discord, I just use it in the browser anyway. No need to install an app that’s just going to be a browser tab in disguise.

      • refalo@programming.dev
        cake
        link
        fedilink
        arrow-up
        1
        ·
        11 hours ago

        Any browser or html/css-based rendering is still 100x more computationally expensive and RAM-bloated than a native approach.

        • randomname@lemmy.org
          link
          fedilink
          arrow-up
          1
          ·
          6 hours ago

          This is true. Perhaps native cross platform UI development should be as easy as web based desktop apps.