While I love Tauri and worked on it. it's far from replacing Electron. one of the downsides of Tauri is, that it uses OS level browser engine while electron uses chromium which brings consistency. Competition is always good for us.
Reading the comments I think people should understand you should only CONSIDER moving to new technolgies when what you are using is not good enough for the problem you are trying to solve. There are a lot of reasons to move to a new technology: 1- Cost 2- Employability 3- Maintenability 4- Performance For example the reason 3 is for what developers move from JS to TS. And reason 4 is why developers consider moving from NodeJS to Go or Rust. You should never move because something is new but because it solve your problems better than what you are using
No one is moving today to new technology but they build the project from scratch. Starting the same crap app over and over again, while someone gaining popularity with his CV, and that crap code is than taken from company in some crap 3rd world country.
@@MrEnsiferum77 This is false, i have worked on migrating old projects to new tech. Sometimes old technologies become so hard to maintain that spending the money to modernize is cheaper than the cost of actually maintaining them in the long term
@@sebastiangudino9377 Well that's because u don't start project from framework, but with DDD in mind. U are ending with bloated logic inside those frameworks, and better change the framework.
@@MrEnsiferum77 If that was the case, we would all be using fortran my dude. Tech evolves, and when it does, infrastructure updates, as as such, so does the code. That when we come in
I have been using electronJs for inventory app we have been building for months now, at the early stage of the project Tauri was announced we decided to look into it and see if this is what we can switch to. Here are the things that made us not to at least for the main time The Linux Webview renderer is awful, the scrolling is not smooth, some customization we did on scrollbar disappeared, we are using tailwindcss to style the app, most of the style went off, the look is more odd and tiny not sharp texts. Switch from page to page seems not work as expected, is some pages we added animations but most of the animations wasn't playing smoothly. Another thing that kept of off is that all windows OS doesn't use same version of Webview, is windows 7 the Webview misses a lot of features unlike windows 8, 10 and 11 So we are comfortable shipping with the render engine we want. ElectronJs has is own corns, yeah we agree but for now I think Tauri still have a lot to do in their choice of renderer engine as we will like it to work in the app as it works in the web
If your code editor runs on Electron, then you know that Electron is not going anywhere! ...Electron may be more resource hungry but thats a trade I'm willing to make to ensure a *consistent* operating environment for my applications. Trust me, its way easier to maintain!
I completely agree, a big one is also the fact that a lot of people know the required languages, which means a lot of high quality 3rd party extensions
Summary: In this video, we talk about the new Tori framework for building desktop applications with web technologies. Tori is getting more popular these days, thanks to its many features and advantages over traditional Electron-based frameworks. Some of these advantages include a smaller size, faster launch times, and lower memory consumption. However, one big disadvantage of Tori is that its back-end binding code must be written in Rust, which may not be familiar or comfortable for many web developers. As of now, my personal opinion is that Tori is not yet ready for widespread adoption, but it is definitely worth keeping an eye on for future development.
I mean, electron should just do a simple "if (electron not installed) { install electron }" and then all the electron apps should use the one instance of electron that gets installed along the first electron app you install, you get all the size benefits of using anything other than electron, with the portability of electron
Tauri seems to be great for my needs, I'm still going through the videos but the reason being that I currently use Qt with C++ for performance critical applications. This being rust and js seems very attractive.
I wouldn't mind writing in Rust in return of all these improvements, but I DO MIND having to adjust my code for multiple browsers! Electron wins for me.
Tauri is great! As long as you only need a frontend. But if you try to do anything in the backend you quickly realise you probably need to spend half a decade learning rust and that there are very few/no guides or tutorials to do basic stuff like setting up a database
nw.js gave me a lot of less headaches with file handling and file path. In electron and tauri you have to create protocol... Electron has much more support and features, and uses chromium. While Tauri uses WebView2 from Edge Microsoft, and i really don't want multiplatform app to be depended on Microsoft's browser, i'll rather ship it with chromium that ain't going to update.
See I agree with Mehul when he says that if you are already neck deep into a project and probably spent a considerable part of project allowance on fixing effectiveness, delivery or my case even robustness. Why would you switch to a new one? Don't get me Wrong I wanna I just can't.
I’ve just started working on an enterprise desktop application with tauri react and TypeScript. The executable is very small compared to electron and Tauri is designed with security in mind. There are few points where Tauri is behind electron as of now: ▫️ Rust has a relatively high learning curve as it’s a systems programming language. ▫️ Community adoption is still new and 3rd party package numbers are low compared to electron. But if someone can work with Tauri now, then they definitely will benefit as they gain Rust knowledge & many companies have already committed their future to Tauri so they will the first few devs with Tauri experience.
The biggest disadvantage: Rust. I don't wanna spend 3 months learning Rust, then another week learning Tauri's rust and then extra 2 weeks writing code that could've been done in just a single week with javascript.
Yea, I can't agree with people acting as if tauri is a competitor to electron. The fact that you're coding toward one browser renderer is one of, if not the biggest reason to use electron. It's what makes it truly cross-platform. Tauri is a competitor against things like c++'s QT framework but even there, I think qt is more cross-platform.
Electron allows you to create desktop applications with HTML, CSS, javascript for Linux, Mac, Windows. Tauri allows you to create desktop applications with HTML, CSS, javascript for Linux, Mac, Windows. Tauri results with much smaller size and more performance. Tauri is competitor of Electronjs.
@@mefaba5363 Before tauri people did similar to what tauri is doing (as far as rendering, not the rust backend), coding toward the native system view. Codedamn brought up slack which is a perfect example of this (search it yourself, clearly documented on hackernews years ago). People largely moved away from this on purpose to electron because of the API-hell of dealing with the different system views. It's like history repeating itself. Developers with experience already knew they could build more efficient desktop apps, this is not news or anything revolutionary brought from Tauri. They deliberately choose electron to build toward one browser engine on different systems. So for the example with Slack, how is Tauri not going backwards, simply reverting to their old problems? If you're okay with ONLY supporting one OS, or have the resources to support multiple OSes, and want to really push the limit on performance and efficiency, sure maybe Tauri can help make that a better experience than before, but that is not what you're prioritizing when you choose Electron, hence my statement that it's not really a competitor.
@@jsega996 I can argue is a competitor just because they had the same purpose, Flutter is also becoming a competitor for Electron. I don't think the way you should program or deal with APIs is part of the conversation IMO.
@@jsega996 why you are saying it is only supporting one OS? I thought it is cross platform. But nevertheless your point made me question tauri, so thanks for critique, lots of food for thought.
Tauri is like flutter in 2017 ... new but very exciting .... and today flutter almost beats react native in certain criteria's. Lets see how Tauri goes down the road ......
flutter is shit on the web, I work in a company using flutter, it's so painful to work with. The company has lost a ton lota money using it and is now considering moving away. I get the hype around flutter, but its nowhere good. Flutter is only good for mobile and for everything else it's a shitshow.
electron isn't just about electron. It's about all the nodejs modules readily available, which speeds up the development process significantly. So no thanks to Tauri even in late 2023.
I saw the video to the end, I'm in the process of pass to desktop dev from web dev and I don't want to learn something that will or can disappear in a couple of years.. Can you make a video about the how hirable is the Electro skill-set and explore a litter in to the tauri skill-set... thank for the content
New to this channel. Great content! Not sure if this is some kind of trademark for your channel, but the purple circles reflecting in your glasses is very distracting from the content of the subject for me. If you're not married to it, maybe tone it down or get rid of it.
This misses comparing one of the MOST important part of the comparison - Security. Please read what Tauri offers more than Electron in terms of security of your apps.
I watched this video till the end no doubts! Been thinking on how to transition to Rust but the learning curve is really high I guess I'll stick to Js for now. Could there be a way to switch runtimes for electron apps to use Bun in the future? Maybe that can compensate for the slugishness
can't even put bun into the equation since it will take atleast 2,3 years to make a decent javascript runtime, in my opinion by the time you would learn the rust slowly slowly
Keeping the bundle size aside, I would recommend switching because of memory usage. Just clarify, I am thinking memory=ram If you could save around 300mb of memory for one app, suppose if you open 3 to 4 apps then 1gb will be saved which is a more significant number. This will be very helpful if you are doing a lot of multi-tasking.
Is my app making a lot of money and working well? If yes - leave it alone! All we seem to be doing is an industry is changing stuff with very little improvements and upside. I'm over it. Flashy bullshit, teams of people working around the clock to achieve nothing.
Should you move your existing well built app into a new fancy framework ?? Ha ha I hate this question and people who ask it. Don’t just migrate. Think of an app like slack can scale on electron then your app might as well.
Brother i am unable to see my react js app after deployment It shows a blank page i used all providers like firebase netlify suger can you please help me out
As per my 2+ year of electronjs experience, the new framework only bring some boiler doc with them, all things are same just they used to be in diffrent syntax, even as web dev so many framework are in market but some people still want to write vode in core php with their own framework.
@@hakuna_matata_hakuna that would be ok too but now vs code sometimes really take too much storage specially some extension or microsoft can just remake electron in C# backend
@@buyorsellkerala dude using these tools might be cool but you know when you start to work on a project they say write code like a non coder will understand (means simplify) but when it comes to developing tools you want to use command line why not make a app which will do these under hood but the developer only needs to do few click developer should make others life easy but what about developers life where you can make a tool better and easy to use but if its for developer yeah just make it good enough to work no need to make it simple
Tauri better leave Electron alone, and take its grudges to NodeJS, Deno, Bun...cuz its like another JS runtime disguising as a native app dev't framework. If so make it so we don't have to deal with Rust as JS developers, that's the whole purpose of Electron and Node itself. Waiting to see it evolve, but looks doomed, the problems it is trying to solve(size, security, speed), the dev community is aware of and working on everyday. Electron itself is capable of reducing bundle size and security is getting optimized each year since 2012.
Na man, this is a bit of a reach but good on you for raising awareness for a great project, I love rust as much as the next brogrammer but the compile times of Rust are still a considerable downside.
you're just giving us shocks let us do what the hack we want to do we can't swtich every freaking 6 month one to another even NodeJS is still widely using Deno not as compare to NodeJs why we need to left the technologies we have spent a lot of hours just beacsue of some newly came technologies why we should not take the new one as secondary ?
You should only consider move to new technolgies when what you are using is not good enough for the problem you are trying to solve not because is cool and new.
It doesn't matter if vscode is written in Electron. Who knows: someone could even write a Tauri port of vscode using vscode, and we would have a vscode that runs faster, consumes much less resources and has a far smaller install size.
It'd just makes me so frustrated. All the issues you discuss are there because JavaScript and the browser api are so well designed. It all comes down to good and well designed libraries and documentation. Winding back 30 years... We had win32 api. It was painful but brilliant libraries such as the VCL component library from Delphi made it workable. Dev stack top to bottom supported real-time remote debugging. Apps rarely came over 4 Meg. UI was not pretty compared to today but it was rock solid consistent. Now I see everyone getting more unhinged by the day. More browser security because you're stupid. Then we make zero security browsers because well.... You get stuff done. It's bloody insane.