• TrickDacy@lemmy.world
    link
    fedilink
    arrow-up
    17
    arrow-down
    9
    ·
    2 days ago

    Because you want a cross platform solution?

    I get that electron can be slow, bloated, etc, but the amount of ire it draws is overboard.

    • MonkeMischief@lemmy.today
      link
      fedilink
      arrow-up
      2
      ·
      15 hours ago

      the amount of ire CPU cycles / frames / watts it draws is overboard. Lol

      (Trying to be funny not aggressive lol)

      For real though, I think it’s just because it epitomizes that “Hardware is fast now so throw sluggishly interpreted high-level code at it and don’t even bother with optimization” mentality.

      Like I remember when people would bash Python over this, but Electron apps make that feel way overblown now.

      (Also Python did nothing wrong :( lol)

    • Wispy2891@lemmy.world
      link
      fedilink
      arrow-up
      23
      ·
      1 day ago

      Yes but sometimes, for example core parts of windows 11 like the start menu, don’t need to be cross platform and should be native, not a pwa

      • TrickDacy@lemmy.world
        link
        fedilink
        arrow-up
        10
        ·
        1 day ago

        Lol I mean I would never use windows 11 or defend that use of it. I’m just saying a valid use of electron is to target multiple platforms with minimal development hurdles.

    • Billegh@lemmy.world
      link
      fedilink
      arrow-up
      13
      arrow-down
      4
      ·
      2 days ago

      Having built applications with Microsoft’s mfc, Java’s swing, the omnipresent Qt, and whatever nastiness Mac was using in the early 00’s, electron is worth the silliness. Trust me. Trust me.

      • MonkeMischief@lemmy.today
        link
        fedilink
        arrow-up
        2
        ·
        15 hours ago

        I’ll admit I’m not versed enough as a developer to grasp this so I’ll take your word for it.

        … I’mma just build my cross platform programs in Godot and nobody can stop me. >:)

      • ChickenLadyLovesLife@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        23 hours ago

        the omnipresent Qt

        So weird. I spent more than two years of my career working on a Qt app (not by choice) but I’ve never met another human being who has ever even heard of Qt. Nothing else has ever made me so certain that I’m clinically insane.

        My favorite thing about Qt was the use of C++ for the back end and Javascript for the UI layer. It lets companies take advantage of the, uh, four people in the world who are good with both languages.

    • macniel@feddit.org
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      edit-2
      2 days ago

      Because different OSes follow different Human Interaction Guidelines and I expect that applications follow the native look and feel.

      • TrickDacy@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        2 days ago

        Ok, seems like a separate issue. The question was why do this and I gave an answer. Doesn’t mean it’s wrong because you can find a reason not to do it.