Is Tauri the Electron Killer?

Поділитися
Вставка
  • Опубліковано 19 гру 2024

КОМЕНТАРІ • 49

  • @justinkimbrell2895
    @justinkimbrell2895 3 місяці тому +42

    Tauri is amazing. I converted an app that I had built in Electron into Tauri. The binary is less than 10MB down from 250MB and uses way less memory, is more performant, an easier to maintain. Tauri is one of my favorite frameworks to work within. I can't wait to convert the app to v2 and get a lot of the new features it provides.

    • @fdimb
      @fdimb 3 місяці тому +1

      Haven't tried v2 rc, but on v1 I was not able to deploy (through the integrated plugins) to Flatpak, and WAAPI animations were slow, like HW Accel was not working at all, might be OS related though as I've only tried the build on Linux

    • @justinkimbrell2895
      @justinkimbrell2895 3 місяці тому +1

      @@fdimb We are mainly running on MacOS. The windows binary works fine too though.

  • @weiSane
    @weiSane 3 місяці тому +11

    This is what I love. All of the technical bits and pieces. Love such guests.

  • @j2isndhu
    @j2isndhu 3 місяці тому +3

    Really enlightening, I didn’t know about Tauri at all and now I’ve opened up a whole new aspect of my programming career thanks so much. Also loved Daniel’s intro and mindset

  • @Richardritchie-w1f
    @Richardritchie-w1f 3 місяці тому +7

    I rather leave a comments. But I really enojed this interview. This guy is a white hat developer. Great and kind speech. Thank you so much for this beautiful time passed!

    • @syntaxfm
      @syntaxfm  3 місяці тому +3

      Daniel is incredible. What an amazing thinker.

  • @ryanquinn1257
    @ryanquinn1257 3 місяці тому +8

    I dropped electron to try Tauri. It’s a cool way to learn Rust and you get your front end knowledge pretty much directly translated where I use Vite React.
    I have a web app but needed to do some system work thus needing the app and electron was just gonna be so darn large for what I had.

  • @jamesmoynihan948
    @jamesmoynihan948 3 місяці тому +1

    Was shouting, "YA!" so much during this episode! Go Tauri!!

  • @ShaneCodes
    @ShaneCodes 3 місяці тому +5

    Yes, I just built an app with it and its pretty amazing.
    Also first!

  • @pengain4
    @pengain4 2 місяці тому

    The guest is awesome: knowledgeable, interesting, humble. ❤

  • @sathishkannan6600
    @sathishkannan6600 2 місяці тому +1

    Great point he brought up is that backed in rust means writing rhe acess of desktop resources. You can all other backend stuffs in js in client side.
    Rust backend is like desktop resorurce backend. js client frontend is like other backend and frontend.

  • @qqtencent7364
    @qqtencent7364 3 місяці тому +4

    i think tauri must be the electron killer. because it has faster compiling speed and support more ways of developing and most importantly it support js development.

  • @deejaydev
    @deejaydev 2 місяці тому

    I heard Scott speak about Tauri for a while, I will definitely try it out . thanks guys

  • @daniele.2944
    @daniele.2944 3 місяці тому +2

    Anyone know if i can use this on my vue app?

    • @syntaxfm
      @syntaxfm  3 місяці тому +1

      Yep! Anything that runs in a browser

  • @glatocha
    @glatocha 2 місяці тому +1

    Is it possible to configure Tauri to use the default browser instead of creating its own Window? Basically what I need is a local webserver that will serve my app on the localhost and open the browser. Same functionality as live server in VS Code. But I want it to be more like one click experience for people not familiar with the webdev stack.

  • @RustIsWinning
    @RustIsWinning 3 місяці тому +3

    Tauri is winning 🦀❤

  • @everythingisfine9988
    @everythingisfine9988 3 місяці тому +4

    Whaaaat? Desktop & Mobile? Not just an electron killer, but can take on React Native & Flutter

  • @chill-hot-stream
    @chill-hot-stream 3 місяці тому +17

    I am From Kenya and We have up to 5G now

    • @blacksun6761
      @blacksun6761 3 місяці тому +2

      Bro didn't digest 😂

    • @nixoncode
      @nixoncode 3 місяці тому

      I am too, but I guess he's talking about marginalized regions towards somali, I've never been there in a long long, time

  • @flwi
    @flwi 3 місяці тому

    That's a great conversation! Spent a lot of time this year learning rust and looking forward to playing with tauri. He's such a thoughtful guy - it sounds like tauri itself is also well designed.
    Btw: does anyone know about the challenges he was talking about st 41:30? Wasn't able to find them.

  •  3 місяці тому +3

    I've used tauri now for two non trivial projects. It worked but the experience was extremely painful. The documentation is shockingly bad so you will need to sift through the discord if you want to do anything beyond the hello world app. That said they have a couple of paid employees on the discord who are very responsive and helpful. It's strange to start work on 2.0 when your 1.0 still feels like an alpha. Also, 95% of the documentation for 2.0 at time of writing is "WIP". If I was building a proper app I would use electron and save myself endless headaches.

    • @trejohnson7677
      @trejohnson7677 3 місяці тому +1

      curious what your specific pain points where. the performance characteristics afforded alone make the documentation problem not so bad 4 me. also curious on what feeling like an alpha even means.

  • @domehead1004
    @domehead1004 3 місяці тому +3

    Did I miss discussion on what’s new in v2?
    Why is Tauri more secure than other similar approaches? Yes , Chrome may have security vulnerabilities, but so do platform web views. I would expect that “more secure” has to do with the IPC between the backend and frontend, but I’ve never heard this explained.
    Having used it on one app, my disappointments included that the documentation is terrible (as in they don’t care) and that the only way to communicate between the front end and back end is via json. Since I’m sending binary data (Apache Arrow), I either have to base64 encode the binary data on the backend to stick it in a json payload and then decode it in the frontend or add a websocket server or full web server to the backend and transfer data via ws or http.
    As a note, I’ve used CEF before (chromium embedded framework) and it’s much more powerful and produces binaries in the 50Mb range rather than 200Mb+ that Electron apparently does, but it’s C++.
    I’ve also had several display issues with rendering virtualized grids in webviews that don’t occur in full-blown browsers.

    • @y00t00b3r
      @y00t00b3r 2 місяці тому

      display issues with Tauri, or CEF ?

    • @tetuaoro
      @tetuaoro Місяць тому

      Hi 👋🏼. Oh wow thx for sharing. The real problem is you are using a js front end. Try with a rust front end like leptos or yew.

    • @dealloc
      @dealloc 8 днів тому

      Was looking for this comment. Once you start using Tauri in real-world applications, you see that there's still ways to go to beat well established systems like Electron. I had similar frustrations, and that was just at the customizing window part.
      I can't even imagine what it'll be like releasing to real users that are non-technical and still uses old versions of operating systems, especially ones where you're required to update the OS to update the underlying browser engine (Windows and macOS)-which just so happen to be the majority.
      You have similar issues as with web itself-so if that is already your target, then you probably won't have an issue supporting every possibly browser version for your user-base. But building a native-like experience will never be possible, especially now that you have to introduce additional overhead through shims to make things work.
      Electron avoids this at the cost of packaging an entire engine.

  • @ulrich-tonmoy
    @ulrich-tonmoy 3 місяці тому

    i have building markdown editor and Node Version manager GUI
    will tauri have zig

  • @christianm4906
    @christianm4906 2 місяці тому +4

    Every time I try something new or niche in a real project, I suffer and end up frustrated. How do I know it won't be the same with Tauri?

    • @mukhlimkurowo
      @mukhlimkurowo 2 місяці тому +1

      tauri will make you feel cool, trust me bro

    • @christianm4906
      @christianm4906 2 місяці тому

      @@mukhlimkurowo have you used it in a real project. I mean something big that pays your bills?

    • @mukhlimkurowo
      @mukhlimkurowo 2 місяці тому

      @@christianm4906 nope, just kidding. sorry.

    • @dealloc
      @dealloc 8 днів тому +1

      It's the same, if not worse, with Tauri unfortunately. Not to hate on the team, but I have not managed to get far with converting our Electron app that includes tons of native modules, and a lot of "backend" (main thread) code. The majority is a React frontend, but utilizing native OS features and communicates through IPC.
      And that's before we're even thinking about user support. We have users who still use old versions of macOS (10.x-11.x).

  • @timonesh7949
    @timonesh7949 Місяць тому +1

    building on tauri in kenya😅😅

  • @hamm8934
    @hamm8934 3 місяці тому +2

    I prefer Wails because of its use of Go’s build system

  • @trejohnson7677
    @trejohnson7677 3 місяці тому +2

    shame on the webrtc re linux point. webkitgtk is infuriating lol

  • @trejohnson7677
    @trejohnson7677 3 місяці тому

    WPE support 4 tauri pls

  • @cotyhamilton
    @cotyhamilton 3 місяці тому

    Heck yeah for deno backend

  • @LisaMiller-g8v
    @LisaMiller-g8v 3 місяці тому

    Lewis Donald Jackson Anna Lewis Helen

  • @georgendirangu9427
    @georgendirangu9427 3 місяці тому +1

    We have 5G networks, not just 4G. Relying solely on mainstream media leads to outdated perceptions. Utilize the internet effectively - explore diverse online sources and social media for current information. Consider firsthand experience through travel. Kenya's technological landscape is more advanced than you've assumed. Please conduct thorough research before making claims about countries you're unfamiliar with. Don't make ignorance into a god you bow down to.

    • @Danielo515
      @Danielo515 3 місяці тому

      And wh do you care?

    • @javohirmirzo
      @javohirmirzo Місяць тому

      Was he referring to average internet speed or specifically the existence of 4g/5g?
      Honestly, it avg internet speed of a country isn’t in the ballpark of 100Mb it’s probably safe to say internet experience is not that good

  • @an-eios7125
    @an-eios7125 3 місяці тому

    Wails is better

    • @syntaxfm
      @syntaxfm  3 місяці тому +4

      What makes Wails better?