• MoogleMaestro@lemmy.zip
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    Electron is the only cross platform gui toolkit…

    If you ignore QT, GTK and everything else.

    I’m so glad that Microsoft makes an awesome cross platfor— wait, no, but they contribute code to— hmmm … Hey, what does Microsoft do to make apps more portable again?

    • lime!@feddit.nu
      link
      fedilink
      arrow-up
      1
      ·
      5 months ago

      one of the funniest (and sadly accurate) things i’ve heard said about linux backwards-compatibility is that its most stable API is Win32. you can run really old windows software on wine because they support stuff even windows doesn’t anymore.

      of course this is because the expectation is that you can just recompile old software to work on new systems, which is not really a thing on window.s

    • ZILtoid1991@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      5 months ago

      The real reasons often are:

      • They want be able to hire much cheaper webdevs instead of software devs.
      • Electron has a lot of built-in data collecting metrics, which they urgently need for creating a real-life KITT.
      • Easy live embedding of content. Sure you can add your own solution, in fact I created ETML as a solution for this problem for my engine, all without any support for nasty scripting languages or convoluted stylesheets (style-inheritance in CSS turned me off from webdev even more than JS did). At best, it can be used for things like embedding videos on Discord, because no one else thought some universal approach, let alone one that disallows proprietary players. At worst, it’s being used for ads.

      Also a lot of Windows-only apps are Electron apps, only because the manufacturer wants to go “fuck you”, even putting protections into the code just in case you wanted to run it on Linux.

      EDIT: Forgot the “live embeds” reason.

      • klangcola@reddthat.com
        link
        fedilink
        arrow-up
        1
        ·
        5 months ago

        Another reason is when developing the Web version first. Draw.io is a good example, where we get a bonus desktop(electron) version “for free” though the product was developed as a web app.

      • addie@feddit.uk
        link
        fedilink
        arrow-up
        1
        ·
        5 months ago

        Python tkinter interfaces might be inefficient, slow and require labyrinthine code to set-up and use, but they make up for it by being breathtakingly ugly.

        • da_cow (she/her)@feddit.org
          link
          fedilink
          arrow-up
          1
          ·
          5 months ago

          And now imagine yourself creating an UI in tkinter without an editor. Because that’s what I did. It was absolutely horrible.

        • Blisterexe@lemmy.zip
          link
          fedilink
          arrow-up
          1
          ·
          5 months ago

          Ugh, and they’re just weird. I can handle ugly but ktinker popups go across virtual desktops and over other windows for some ungodly reason, and never seem to dismiss themselves properly

    • teolan@lemmy.world
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      5 months ago

      GTK is not accessible anywhere other than Linux and is therefore not a serious option outside of Linux.