• umbraroze@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    6 days ago
    • Yes
    • Yes, and also delete Electron
    • That, and also make me forget I ever even heard about Electron in the first place
  • aliser@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    7 days ago

    what’s are the alternatives? I want ease of writing UIs js/CSS/HTML gives, especially with frameworks like svelte.

    • Maven (famous)@lemmy.zipOP
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      6 days ago

      I’d highly recommend Tauri. It’s much much much faster and you can use svelte for the front end and enjoy all of those benefits.

      The “downside” is that all of the backend is written in rust which can be trouble to learn… (Downside is in quotes because rust is my favorite language and I would legally marry it if the law cared about the true meaning of love) However! If you don’t care much about the backend stuff or most of that is gonna be simple anyway… Just use it. It’s better in every way

      Edit for context: I’m the lead developer of a “popular” (it’s as popular as you can be as a niche tool for a niche community) open source project that uses Tauri with a svelte front end and rust in the back end.

      • Brahvim Bhaktvatsal@lemmy.kde.social
        link
        fedilink
        isiZulu
        arrow-up
        1
        ·
        6 days ago

        There’s also a Golang alternative that does not have 6 GiB build folders like Tauri / Tauri 2.

        (Tauri generates like 3 MiB binaries. It’s the build folders that are huge. Also stay ready to compile huge Rust packages!)

    • LordKitsuna@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      6 days ago

      Getting good is an alternative, coding will always be a trade between ease and quality. Super high level languages are super easy and accessible but the tradeoff is you have no idea what is actually happening on the backend nor much control of it and it requires bloated web engines to manage and run.

  • mindbleach@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    7 days ago

    HTML5 applications goddamn well ought to be first-class programs, as a totally platform-agnostic realization of Turing completeness.

    Instead you get every application bundled with its own whole-ass operating system and virtual machine. For a fucking webpage. Yep! No other way to run that on a modern computer!

  • mlg@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 days ago

    I think VSCode is the only stable electron application and even then it took them like 5 years to reach passable stability lol.

    Used to crash and combust all the time when I first tried it.

  • Pechente@feddit.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    7 days ago

    For anyone considering Electron: take a look at Tauri. It’s another way to build cross-platform apps with web tech. It will use the OS‘s web rendering engine instead of shipping Chromium which results in much smaller binaries and faster startup times and less RAM usage. You can also write native code in Rust. It’s like Electron but good.

      • Pechente@feddit.org
        link
        fedilink
        English
        arrow-up
        0
        ·
        6 days ago

        The reason people use Electron in the first place is that they wanna share a codebase between web, desktop and possibly mobile.

        While Flutter can technically do that, the web apps it outputs are atrocious with poor usability and accessibility. It’s drawing the whole UI on a canvas element which causes all kinds of issues.

        • BorgDrone@lemmy.one
          link
          fedilink
          arrow-up
          1
          ·
          5 days ago

          they wanna share a codebase between web, desktop and possibly mobile.

          That way you get an app that’s crap on every platform.

    • fxomt@lemm.ee
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      7 days ago

      vscode isn’t an IDE, but an actual IDE written in electron would be horrible.

      I don’t want to argue about this anymore. I admit i had a bad take, and this whole thread is just arguing about semantics at this point. Does it even really matter if vscode is an IDE or not? If it works, it works.