• MoogleMaestro@lemmy.zip
    link
    fedilink
    English
    arrow-up
    3
    ·
    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
      2
      ·
      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

        • Archer@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          4 months ago

          It’s very amusing to imagine devs carefully watching for an EOL/EOS date and starting to build software only after

    • ZILtoid1991@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      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
        2
        ·
        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.

    • highball@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 months ago

      Yeah, he doesn’t know what he’s talking about. There is a shitload of frontend developers that specialize in web standards and technologies. Electron was developed to take advantage of that deep pool of frontend developers. The side affect, is that other OSes can just support electron and they get the developers and the applications for free. Which has been a major boon for Linux users and those looking to escape Microsoft’s vendor lockin strategy. Today might be different, but in the past, nobody was intending to support Linux by creating electron apps. If they cared so much or it was so important, they would have been using Qt and GTK prior to Electron.

  • Zen_Shinobi@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    5 months ago

    I feel the opposite. I expect things NOT to work on linux.

    Just wait until they figure out Mac has been an OS just as long as MSDOS

  • pet the cat, walk the dog@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    5 months ago

    (Apple as a platform is so closed that it couldn’t be influenced by this utter crap and the developers can use the OS native API’s.)

    A hidden gem of stupidity and nonsense in the already pretty dumb tirade.

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

    I welcome other’s input but I thought this was a pretty clear cut case of Mac becoming popular. Why write a program for Windows and Mac when you can just make a website. Then Chromebooks in education sealed the deal.

    Linux is only starting mainstream use now because of Europe’s push for digital sovereignty and windows 10 end of life.

  • FE80@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 months ago

    What kind of shit for brains asshole is still defending Windows in 2025?

    • krooklochurm@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      5 months ago

      And what kind of slavering mouth-breathing teoglodyte doesn’t understand that Hannah Montana Linux negates all of these issues, will suck your dixk without hesitation, and lets you read news from four days from now.

  • Clent@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 months ago

    No matter how fanboi-y a Linux or Apple user gets, they can never out fanboi a Microsoft fanboi. They take making shit up about competitors to a entirely new level.

  • yogurtwrong@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    5 months ago

    Show me how you never programmed anything without telling me

    Software should be maintained, not built and forgotten about. Windows encourages the latter, which is just straight up bad practice

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

        You dont even have to look at the code to see this. Just make one wrong click in a UI and youre directly getting dragged into a UI that hasn’t changed since Windows XP.

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

          But that’s always a good sign that you’ve dug into the part that actually still works consistently! Once you pop some Windows 2000 era UI you know you’ve struck gold and need to note the path for next time (until Microsoft rearranges their settings for the 5th time this year of course)

  • SavvyWolf@pawb.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 months ago

    Most applications that are Electron either only support Windows or also want to support Android, iOS and Web. I assume there is some toolkit out there that supports everything, but honestly HTML5 is more well known and tested.

    • Captain Aggravated@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 months ago

      Probably “Native Linux apps are made in Linux-only bullshit by useless neckbeards, and probably only run in the terminal. Real actual apps like Discord made by a for-profit corporation have to be made cross-platform.”

  • olenkoVD@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    5 months ago

    I hate the Windows API so much. There are like 100 million function that all start with a capital letter and take a kajillion arguments just to do the most simple thing imaginable (see CreateThread). And there are twenty different typedefs for the same type (PSTR, LPSTR, tchar* all point to char*). Also all variables and function arguments should start with their types, like hWindow if the window is a HANDLE.

    I hate this joke of a programming interface so much, I hope everyone sticks to programming with POSIX and platform-agnostic libraries.

    EDIT: And also, did I mention that if you want to use it, you get all of it or none of it? It’s literally a single header file named Windows.h. You get just that and take it or leave it.