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
    1
    ·
    17 hours 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
      ·
      17 hours 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
        ·
        6 hours 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 alç 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.