I decided to adventure myself in Tauri development for a personal project, I read the entire Rust official book and followed the exercises. When I first started developing it was like if nothing I learned helped for real life projects.

Now after getting betting up every single time I touch my project, it seems I’m catching things slowly.

But I’ve never seen such a hard modern language, I used C and C++ before and it’s incomparable.

  • JohnHammerSky@lemmy.todayOP
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    2 days ago

    Tauri provides native system plugins cross platform, that’s what I want, paired with the fact it doesn’t bundle Chromium, apps are lightweight and fast.

    You can use Tauri with Iced too, it doesn’t require web tech, the strong point of Tauri is the native system modules.

    I thought about using native tools only but I’m planning on supporting Linux and Windows at the same time, so that’s the appealing for me.

      • JohnHammerSky@lemmy.todayOP
        link
        fedilink
        arrow-up
        1
        ·
        2 days ago

        The GUI isn’t important to be honest, just anything that doesn’t look too outdated. I’m more interested on cross-platform native plugins, so I don’t need to write all by hand. Slint seems to be less libre than Tauri, there are pricing on their website, even tho I understand it’s free, still, I prefer to keep it away from strongly backed by individual company, especially if I don’t know it well.

        • calcopiritus@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          2 days ago

          “plugins” is not a feature. What plugin specifically do you need? Most probably you can accomplish whatever you need with a library and iced. Plugin is just a fancy word for library.

          • JohnHammerSky@lemmy.todayOP
            link
            fedilink
            arrow-up
            1
            ·
            2 days ago

            Plugin are a feature when it provides cross platform abstraction for Windows, Linux, Mac, Android and iOS.

            Doing it natively means I need to make a few thousands of extra ifs and maintain all different ifs for each platform, while Tauri provides it out of the box. Such as notifications, filesystem access, file opener, auto start, window management and etc…

            • calcopiritus@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              2 days ago

              There are plenty of cross-platform libraries in rust. In fact, most of them are. Since Rust is cross-platform at its core.

              • JohnHammerSky@lemmy.todayOP
                link
                fedilink
                arrow-up
                1
                ·
                edit-2
                1 day ago

                You probably mean general purpose libraries, when it comes to libraries that need to interact with OS native APIs Tauri does the heavy lifting by implementing for all platforms including Android and iOS.

                I mean every language is cross-platform at its core, even Node, but for more complex calls things get really tricky.