• FrostyPolicy@suppo.fi
    link
    fedilink
    arrow-up
    53
    arrow-down
    6
    ·
    28 days ago

    If developers want to make a desktop application they should use proper cross platform desktop frameworks like QT or GTK or even JavaFX instead of a webpage disguised as an application.

  • 0x01@lemmy.ml
    link
    fedilink
    arrow-up
    49
    arrow-down
    22
    ·
    28 days ago

    Nah electron is an excellent technology, v8 is a remarkable engine. Maybe something like tauri will unseat it eventually but the ability to spin up a new product in relatively short order is good for everyone. Ram and disk usage are higher than they would be with a native app but velocity is unparalleled

    • Lucy :3@feddit.org
      link
      fedilink
      arrow-up
      36
      arrow-down
      1
      ·
      28 days ago

      The problem is chromium. It’s more efficient and usable to just create a new dedicated firefox profile (which will start in a fully separated instance), and create starter scripts and desktop entries for that.

      • 0x01@lemmy.ml
        link
        fedilink
        arrow-up
        19
        arrow-down
        8
        ·
        28 days ago

        Imo velocity and user experience aren’t mutually exclusive, as a developer I can respond to user requests way faster with web technologies.

        As a consumer vscode is a perfect example of why the ecosystem has value, are there other products that fill the same roles? Absolutely, but if you were around for the transition from bloodshed, codeblocks, eclipse and the like to sublime and vscode and other more modern editors you should remember how gamechanging the positive feedback loop of velocity achieved for the dev community in the form of user experience.

          • 9point6@lemmy.world
            link
            fedilink
            arrow-up
            21
            arrow-down
            1
            ·
            28 days ago

            A modern text editor with language servers running absolutely will take up 1GB+, I know I can easily get neovim to go past that with typescript projects.

          • unique_hemp@discuss.tchncs.de
            link
            fedilink
            arrow-up
            14
            arrow-down
            1
            ·
            28 days ago

            I suspect most of the resource usage is LSP plugins, so equivalently configured neovim should be about the same, really. If you use VSCode as a plain text editor, it does not use that much RAM.

          • Fushuan [he/him]@lemm.ee
            link
            fedilink
            English
            arrow-up
            5
            arrow-down
            1
            ·
            27 days ago

            With 0 extensions it absolutely doesn’t take 1GB and the more extensions you add it resembles more an IDE than a text editor, so the 1GB is completely justified. In fact, I have tons of extensions and mine takes around 300MB, I have like 5 instances open for work reasons (several remote connections) running on a VDI that gives me like 4 GB of RAM, and I can open excel, teams, and all the other company bullshit, alongside a browser with 20 tabs open. So no, it doesn’t take 1GB per instance.

  • TriflingToad@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    24
    arrow-down
    4
    ·
    27 days ago

    Controversial take but I think It’s weird how this community is so “FOSS is great even if it doesn’t have the 1 feature you need” then will turn around and say “Your unpaid labor for the good of this community is not acknowledged and because you wanted to make a UI in a language you know I will not only refuse to use it, but will shit on it”

    Like I get you don’t like electron but there’s a lot of work that the developer put into it. I think that work should be appreciated instead of clowning on them! To use the line every terminal lover uses when someone asks for a UI: “It’s open source, make it yourself.” (note, I’m not saying terminal only programs are bad. It’s just annoying to be selectively “do it yourself” when someone else is asking for it and this meme when you’re asking for it)

    (Unless this is about closed source programs, then yeah that’s fair.)

    • Gregor@gregtech.eu
      link
      fedilink
      arrow-up
      9
      arrow-down
      4
      ·
      edit-2
      28 days ago

      Blink is incredibly performant. Why would you hate on a specific browser engine just because it’s made by Google? Nothing stands in your way to switch to Firefox if you want, plus Blink is open source so what’s not to like?