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.

  • azdle@news.idlestate.org
    link
    fedilink
    English
    arrow-up
    18
    ·
    1 day ago

    I’m a fairly experienced Rust Dev (I’ve been paid to write it since 2014). I’ve never use Tauri, but damn it looks complicated.

    If your goal is learning rust, I’d suggest learning on something simpler. Avoid complicated “ecosystems”, anything super macro heavy, or async in general. Go write code like you’re a college freshman. Duplicate code, call .clone() and .unwrap() with wild abandon. There’s no reason to throw all the hardest parts of the language at yourself all at once.

    If your goal is ending up with a GUI application, I don’t really have advice for you, I’ve never figured that out myself.

    • majster@lemmy.zip
      link
      fedilink
      arrow-up
      6
      ·
      1 day ago

      avoid async

      Lots of networking libs are bases on tokio. I found it super annoying.

      • lad@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        There are more async runtimes, and imo many crates support other runtimes. it’s worth getting some experience with it, anyway