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.
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
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
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!
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.
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.
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.
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.
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.
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.
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.
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.
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).
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.
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
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.
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
@@fdimb We are mainly running on MacOS. The windows binary works fine too though.
This is what I love. All of the technical bits and pieces. Love such guests.
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
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!
Daniel is incredible. What an amazing thinker.
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.
Was shouting, "YA!" so much during this episode! Go Tauri!!
Yes, I just built an app with it and its pretty amazing.
Also first!
The guest is awesome: knowledgeable, interesting, humble. ❤
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.
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.
I heard Scott speak about Tauri for a while, I will definitely try it out . thanks guys
Anyone know if i can use this on my vue app?
Yep! Anything that runs in a browser
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.
Tauri is winning 🦀❤
Whaaaat? Desktop & Mobile? Not just an electron killer, but can take on React Native & Flutter
I am From Kenya and We have up to 5G now
Bro didn't digest 😂
I am too, but I guess he's talking about marginalized regions towards somali, I've never been there in a long long, time
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.
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.
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.
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.
display issues with Tauri, or CEF ?
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.
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.
i have building markdown editor and Node Version manager GUI
will tauri have zig
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?
tauri will make you feel cool, trust me bro
@@mukhlimkurowo have you used it in a real project. I mean something big that pays your bills?
@@christianm4906 nope, just kidding. sorry.
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).
building on tauri in kenya😅😅
I prefer Wails because of its use of Go’s build system
shame on the webrtc re linux point. webkitgtk is infuriating lol
WPE support 4 tauri pls
Heck yeah for deno backend
Lewis Donald Jackson Anna Lewis Helen
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.
And wh do you care?
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
Wails is better
What makes Wails better?