Goodbye Electron.js 👋
HTML-код
- Опубликовано: 15 сен 2022
- Electron has a new competitor in the market - Tauri. Will Tauri framework replace Electron? Let's find out.
⚛️ Do you want to become a full-stack web developer? Check out codedamn's full-stack learning path: cdm.sh/fullstack
⚛️ Get started with web3 and decentralized technologies today: cdm.sh/web3
👉 Checkout codedamn on social:
✨ Instagram: cdm.sh/ig
✨ Twitter: cdm.sh/twt
✨ Discord community: cdm.sh/discord
✨ Facebook: cdm.sh/fb
GitHub: cdm.sh/github
If you found the video valuable, please leave a like and subscribe ❤️ It helps the channel grow and helps me pumping out more such content.
✨ Video Tags ✨
What is Tauri?
How To Build Desktop Applications With HTML & CSS?
Tauri Explained!
✨ Hashtags ✨
#programming #2022 #coding #technology #html
Electron has a new competitor in the market - Tauri. Will Tauri framework replace Electron? Let me know what you think in the comment below
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.
Which computer specs do u use?
I love tauri cause it uses rust
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
Fact 🤝
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
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
agree
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
wouldn't you be able to swap out the renderer part for something like... chromium? If that's not what they use...
@@novaria not sure because that's the major difference between Tauri and Electron apart that it uses Rust in the main process
awesome, we're also about to start an app in same field as yours, so this comment i think confirm for me that electronjs is a way to go?
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.
@@anonymousalexander6005 why is this problem for self-taught developers? I'm curious about the reasoning behind this particular statement.
As I understood it'll be possible to code in Go or even Python later !
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.
If we convert my Web based PoS into desktop app on electron JS… can this desktop version operate off of cache in case of internet outage ?
you dont necessarily need to know rust to make tauri apps. you can simply make apps only using JS/TS if your app requirement is not anything fancy
You would not belive how happy I am you are making this video. Just right now working at a project with Tauri + learning.
BTW for rust as well most of native things like fs access they provide APIs. So for most apps it will work even without learning rust
is still lucrasive? just curious shifting to Tauri , before learning Electron Js.
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
Do you copy the format of the fire ship channel?
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.
Waiting for 70 more frameworks
...
Worst part I'm not even kidding.. 😅
Yheaa, technology always up to date
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
It does seem weird that every app needs to be completely bundled.
Can anyone help me here, how can we minimize the bundle size of React application (CRA)? I've made all of my routes lazy and wrapped in Suspense API.
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
I would like to like it..., but having node available is pretty big. I could argue, that Deno and Tauri would be a killer feature.
i saw it coming long ago.
glad to see , it is making progress
Hey Mehul, What is your opinion on golang?
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.
electron is growing so much that most of the large companies use it .... due to its speed and versatility there is no stopping it
I would personally recommend going with Flutter as Dart is comparatively easy to learn.
I hate the flutter sky engine. It's so broken on the web.
@@ooogabooga5111 he was referring to Desktop not web. I think that's what this video was about in the first place
nice summary!
Ease of use over space for me. I think I will give it a try though
can you do a review about the neutralino js
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.
why is no one talking about neutralino js
The video caption is quite misleading 😅
I whats this video till end... New suscriber!!! thanks... i will install todey!!!
the most problem Is protect the code....electrón Is not secure...i dont know tauri
I watched thsi video till end great work mahual
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
@@nivethan_me Well... that's a fair point.
WebContainers? Nodejs runtime in the browser. This wouldn’t be fast enough?
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.
Yes, those lights are too disturbing.
Just noticed "Apps users love, built with Electron" on Electron page lmao. Users hate them
3:11
Me: Okey! Bye
Watched till the end 😊
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.
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.
Felt.
Rewrite doesn't make sense in most cases. Going from JS to TS would be a much better option for most people.
not 3 months, probably like 2 week
and rust performance is insane compared to JS
Anyway tauri is not complete yet
It’s a better case for new projects or really really big apps that need that perf gains
@@alireda640 "rust performance is insane compared to JS"
That's mainly because of NodeJS, not the language itself.
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.
Requiring Rust is not a problem, it is a huge advantage.
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.
Mehul bhai is bacc.
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 ......
where flutter has beaten react native ??
@@arupde6320 yes , the community of flutter is more than react native
@@pavankumarv9218 thats wat you think
@@arupde6320 please check stack overflow data
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.
Nice comparison! I will stick to electron 😂
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.
1:24 eloctOOOn ❤
I watched this video till the end.
As a beginner, i think i should consider tauri.
no, you shouldn't as a beginner. community supports plays a huge role when learning something new.
If you know Rust already, maybe, otherwise learn some Rust first or use something else.
As a beginner getting a grip on Rust is smart. Rust is a beautiful language - especially compared to JavaScript which is still a mess.
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.
I watched this video till the end
why not just use flutter
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.
I wish you make content for knowledge rather than just for content
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.
We can feel the taur of tauri 😂🔥
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.
I think microsoft should build VS Code with Tauri now vs code take too much ram
At that point they'd just build it in c# meta seems to be the only major company betting hard on Rust
@@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
you can try lapce its built on rust
@@syaifulanwar7394 thanks will try it
Good video, misleading/clickbait title.
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.
I can't agree more!
@@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.
0 days since a new js framework has released
I watched till the end
sounds like react native
PWA should replace all of these
Use flutter ❤
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.
Didn't think that you would compare to different stacks. It is like comparing apples to oranges.
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.
Goodbye to your channel
Dekstop
If u are JS fan like me, u would say no to Tauri😅
lets go PWAs everywhere !
I watched till the end!
“New”
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.
I admire this kind of stupidity, VSCode runs on mf electron.js bro it ain't going anywhere. 🤣
Electron is JS but tauri is not.. Then how can we compare these
React Native vs Flutter is valid because both have the same purpose.
Is about the purpose not the tools, you can also compare NodeJS vs Go for servers
Thanks god it's gone. Now, I don't have to study it 😎!!
Irony is Tauri devs are using vscode to develop Tauri it seems :)
😅😅😅
Notepad.exe
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.
Clickbait 😔
Watcehed till the end
I watched this video till the end🎉
Once you start building with Rust an TypeScript, there's no going back, JavaScript should be killed already.
I WATCHED THIS VIDEO TILL THE END
Welcome to flutter guys! 🙋 It's better than anything.
i watched it till the end.
first
2 days 2 new techs, im unsubing this?
If you already know rust, it's better options out there. Just another rust fanproject wich try to get everyone on the rust hype.
Can you tell me about the better options?
who cares ? all that matters if its good or not
A golang alternative would be better
GC 🤢
This man is on mission of killing programming languages anyways😩
Dekstop
I watched till the end
I watched this video till the end