• aliser@lemmy.world
    link
    fedilink
    arrow-up
    18
    arrow-down
    2
    ·
    22 hours 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
      20
      arrow-down
      1
      ·
      edit-2
      17 hours 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
        2
        ·
        12 hours 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
      2
      arrow-down
      12
      ·
      22 hours 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.