• 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.

  • 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.

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

    Every operating system contributed to the bloat. Windows has Win32, OS X has Carbon / Cocoa, Linux has X11 and various widget libs that sit on top of it. So it has been a perennial nut to crack to make cross platform widgets - wxWidgets, QT, SWT/JWT/Swing on Java, XMLShell (Firefox), Electron, GTK/GTK#, winelib etc.

    Throw mobile platforms into the mix and it’s an unholy mess. Lowest common denominator is HTML and so the likes of Electron “wins” even though it’s bloated and slow.

    • gandalf_der_12te@discuss.tchncs.de
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      i actually don’t have a problem with HTML, i just think that instead of every app shipping their own copy of electron, the operating system should provide basic browser functionality.

      • wdx@feddit.org
        link
        fedilink
        arrow-up
        1
        ·
        5 months ago

        that sounds like Tauri!

        Linux and Mac use WebkitGTK, Windows uses Edge/Chromium, Android uses Chrome - as bundled in the respective OS, and you essentially have a frontend running on that webview communicating with a backend running locally via some special IPC protocol

    • highball@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 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.

  • 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.

  • 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.

    • Captain Aggravated@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 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.”

  • Clent@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 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.

  • UnfortunateShort@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    I wonder why so many people bundle Electron when you can make your app run in any browser. Like, you can totally write a program that just launches the browser and makes it load a site from lokal storage

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

      Electron (and Tauri, and Neutralino) also offers some deeper OS integration stuff that browsers don’t do or actively block; direct file management, USB peripheral control, that sort of thing.

      But for something like Discord, you’re totally right. You just need the browser.

  • Exec@pawb.social
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    Sure, except that end user market share for MacOS is larger than Linux probably