It’s a business decision for many companies to go with electron than java/c since its fast deployment, and user friendly. Users don’t care if stack electron is not great as long as its user friendly and aesthetic
that's a big brain move. I think that in a few years this language gonna be one of the most important in the programming world. I saw that Linux developers was thinking about rewriting the whole kernel in Rust, or just a part
"You can build desktop applications…." Me: Wow, somebody realised that web development is not the only type of software development in the world, and that there are still people who develop apps, gotta hear about that "… with JavaScript" Me: WTF
Only reason I clicked on this was too see this comment down here somewhere lol. Mind you it isn't impossible to make a good desktop program in JavaScript, but none of the tooling is heading to a direction that would allow it. If the program architecture is 90% polyfill bloatware and designed by someone that thinks the current web frameworks are a good starting place for it, they'll either struggle mightily to get it done well, or release garbage. Good examples would be the PC component vendor's applications for managing their hardware, they seem to only hire web devs (nothing wrong with that mind you I'm one too) for lower cost and not dedicate any time to make an architecture actually designed for the purpose.
I very much like apps that use tauri or edge webview since they tend to run much faster because they strip unnecessary components Also for those wondering there are multiple webview libraries There’s Tauri with Rust and JS/TS Wails with Go and JS/TS If you bother searching you’ll probably find a version for a language you’re familiar with
@@swiftypopty1102 The difference is, that an app built in tauri does't package it's own version of chromium but uses the one already installed on your PC (Webview).
@@swiftypopty1102 yes but the reason edge chromium is better is because Microsoft changed the source code (open source is open source) and fixed chrome memory intensive nature. So it no hog you RAM.
@@CodingWithLewis Hi, Why don't we have developers or jobs for who build desktop applications specifically or a developer shouldn't choose technologies to build applications?
Well, if you are coding for an Atmega328p with 2kB of ram, probably you shouldn't use electron. But probably you even don't know what is an Atmega328p so...
@@iliasalaur Stop normalizing inefficient use of resources. Electron can be less inefficient if it's heavily optimized (like VSCode), but most people don't bother to. Even if they do, it'll still be slower than some other language.
I am actually building an application for my client using Tauri. It is fantastic and v2.0 is around the corner. I would personally not choose electron over Tauri.
Tried Tauri, and i think it is very good since it is not too complex and it is fast (Tauri only uses WebViews, such as Webkit on Linux and Mac and Blink+V8 on Windows, instead of packaging a whole web browser like electron does)
Please keep in mind that Google Chrome is NOT THE SAME as Chromium. Chromium is an open source proyect, which was used as a base to create Google Chrome, Edge and other web browsers. Please dont confuse them as they are not the same
I used Tauri a couple of times, the bundle size and ram usage are orders of magnitude smaller than Electron. It is already stable and should be a no brainer choice for any js+desktop app
I feel like just when you're about to understand this one thing, and then suddenly something new comes up to replace the very thing you're learning. Feels very demotivating and hopeless because how can we ever catch up
I'm curently build POS app using tauri + next.js. And that's fun. Just got some bug like notification suddenly missing on tauri, gonna wait for tauri 2
Tauri is going to be annoying to test for different OSs, especially for Linux where there is multiple webview runtimes for different Desktop Enviroments
Electron is supposedly a better option than the legacy option of Cordova, but with "web" apps there is always going to be limitations on what you can do in javascript, especially around interacting with the operating system. With my Cordova app, which also runs a web app in a container, you can't do anything to directly browse the user's storage to load/save files because the embedded web browser hosting the app has built in security features blocking the "web" application from accessing anything on the system. In order to get my app to work (on my android phone), I had to create a plugin using Java which saves the files, and Cordova had to load that plugin to use within my app. Very difficult way to develop the app IMO.
Say it with me everyone: "Chromium is not the same as Google Chrome!" Also, just use PWA apps. "Installs" instantly, appears like a native app and doesn't package another browser when you already have one. Plus, you literally just use the same code as your web version.
JS is an emerging language. In the future it's gonna everywhere. Started from browser, now it can be used in backends, servers, mobile applications, desktop applications and even blockchain also uses Javascript.
Bois if you want JS dont use electron, Use NodeGUI or React Native Desktop or Proton Native or Just a PWA their are a lot of aptions, and M just saying these days the performance gap in electron is so tiny so electron is good too
How about just don’t use JavaScript? I guess it’s being used for more than what it’s worth 🤮🤮🤮 One reason why chrome uses so much RAM is because of the slow JavaScript calls. People should start realising that JavaScript is actually just best suited for the web, not much else.
Not even the real reason Chrome is so resource heavy is because of how they handle tab management. Someone explained it to me plain and simple everytime you open a new tab in Chrome it counts as a new instance of Chrome being opened (as in a new window)
@@astrahcat1212 huuu gotcha! Always just curious what people recommend and stuff!!^^ ive not done much desktop c# stuff might be worth checking out then!
Idk tauri has been pretty good. Rust doesn't have good gui libraries from what i have seen so offloading that part to js frameworks like react seems pretty smart.
@@mridontclickbaitftw4366 I don't know much visual studio, i use visual studio code. Visual studio if i remember correctly is mostly dedicated for c# dev work and comes with all the tooling around c#/dotnet dev built into it. Visual studio code(vscode) on the other hand is a comparatively light weight, general purpose IDE that we see in almost all web dev tutorials. We can install extensions to make it work well with various languages/frameworks.
@@mridontclickbaitftw4366 The Visual Studio IDE is completely different from the Visual Studio Code text editor. The IDE runs natively and not inside a web browser.
It's cool and interesting. I just don't understand why you would do this though. There's several better options, but really, C# is the best. C# is king of desktop apps. Especially when the standard JS library is so horrible. You shouldn't have to use third-party libraries for (relatively) simple things.
Not sure, but still it would lag as hell without any backend (not the server but a fast language that'll act as the bridge between the OS and custom logic because python and javascript both are meh for performance )
I used Tauri for my internship, built an app that controls the workflow of a medical device, it was a good choice I made I think because it was really easy to use and you don't even need to learn rust as you can just ignore the default rust backend and use your own NodeJS one for example, and no rust coding needed.
I've worked with ElectronJS por a months, and I just loved, because de benefit of a desktop app is that you won't need a Back-end server, the "back-end" is the machine of the client xd
No worries. You just need to download more ram.
70 IQ: download more ram
100 IQ: NoOoOoOo yOu cAn'T DoWnLoAd mOrE RaM!!
130 IQ: download more ram
easy
Sir its dedicated wam.
@@ryu_798 That had no busy making me laugh so hard
@@ryu_798 *ahem* I think you mean "dedidated"
Ah yes, the good old "Every application will eventually be written in JavaScript".
Js maxists are the lgbtq++ of programming
@@internet8080not true
It’s a business decision for many companies to go with electron than java/c since its fast deployment, and user friendly.
Users don’t care if stack electron is not great as long as its user friendly and aesthetic
this is why, as a MERN developer, I started learning Rust :)
Yeah just add wasm to your stack and you'll become unstoppable 🔥
Tauri my beloved🙏
that's a big brain move. I think that in a few years this language gonna be one of the most important in the programming world. I saw that Linux developers was thinking about rewriting the whole kernel in Rust, or just a part
@@bridiro iirc Rust was introduced into the kernel, but i don’t think the entire kernel will be rewritten.
Pardon but what's a "MERN developer"?
And this is why every desktop app now uses at least 300mb of RAM, now matter how simple they are.
Teams... That shit could use 1gb for no reason in idle and comparing that to TS3 is XD... Like big adult vs small baby
"You can build desktop applications…."
Me: Wow, somebody realised that web development is not the only type of software development in the world, and that there are still people who develop apps, gotta hear about that
"… with JavaScript"
Me: WTF
Only reason I clicked on this was too see this comment down here somewhere lol.
Mind you it isn't impossible to make a good desktop program in JavaScript, but none of the tooling is heading to a direction that would allow it. If the program architecture is 90% polyfill bloatware and designed by someone that thinks the current web frameworks are a good starting place for it, they'll either struggle mightily to get it done well, or release garbage.
Good examples would be the PC component vendor's applications for managing their hardware, they seem to only hire web devs (nothing wrong with that mind you I'm one too) for lower cost and not dedicate any time to make an architecture actually designed for the purpose.
I very much like apps that use tauri or edge webview since they tend to run much faster because they strip unnecessary components
Also for those wondering there are multiple webview libraries
There’s Tauri with Rust and JS/TS
Wails with Go and JS/TS
If you bother searching you’ll probably find a version for a language you’re familiar with
Isn't Edge Webview run in Chromium also?
@@swiftypopty1102 The difference is, that an app built in tauri does't package it's own version of chromium but uses the one already installed on your PC (Webview).
@@swiftypopty1102 yes but the reason edge chromium is better is because Microsoft changed the source code (open source is open source) and fixed chrome memory intensive nature. So it no hog you RAM.
You’re shortz videos are so useful for beginners
Glad you think so!
@@CodingWithLewis Hi, Why don't we have developers or jobs for who build desktop applications specifically or a developer shouldn't choose technologies to build applications?
Now I understand why VS code eats all of my ram
And Discord 😢
and teams
@@joopie46614 i think the new teams uses UWP or MAUI cause. Even whatsapp was on electronJs and now its on one of microsoft Frameworks...
hey could you tell us how you research new programming libraries or frameworks.
Bro really be digging 🕵️👀🔦🤓
google
Yuh a useful skill to have
@@shhdev googling is an art in which i suck
Chromium will just destroy your ram in seconds
Well, if you are coding for an Atmega328p with 2kB of ram, probably you shouldn't use electron. But probably you even don't know what is an Atmega328p so...
@@iliasalaur Stop normalizing inefficient use of resources. Electron can be less inefficient if it's heavily optimized (like VSCode), but most people don't bother to. Even if they do, it'll still be slower than some other language.
@@faisalhnf may i hear some examples of "some other languages" ?)
@@iliasalaur C, C#, C++, Ruby, Python, Lua.
@@Vexxel256 good luck writing a desktop app in QT for 3 different platforms using C++.
And this is why most modern apps are extremely slow
My job is to build desktop apps. The customer’s ram limits aren’t my problem.
That's why software is so shitty.
Tauri is awesome !
I started to learn tauri yesterday. Very good system and you can use it with full rust just perfect
I am actually building an application for my client using Tauri. It is fantastic and v2.0 is around the corner. I would personally not choose electron over Tauri.
Have you tried Tauri or Electron 🤔
Used and liked both. Working with Rust is quite enjoyable.
Tried both, tauri produces packages way smaller, and takes less memory when running the app
Tried Tauri, and i think it is very good since it is not too complex and it is fast (Tauri only uses WebViews, such as Webkit on Linux and Mac and Blink+V8 on Windows, instead of packaging a whole web browser like electron does)
Yeah, and prefer tauri over electron
way easier to make a react app in tauri than electron
As a start what is the first thing to learn
I still in shock when i knew we actually are all writing code in a web browser 😅
That villager sound hits hard.
Please keep in mind that Google Chrome is NOT THE SAME as Chromium. Chromium is an open source proyect, which was used as a base to create Google Chrome, Edge and other web browsers. Please dont confuse them as they are not the same
A good atlernative is Tauri, u can us react and build desktop app that will compile to rust
I used Tauri a couple of times, the bundle size and ram usage are orders of magnitude smaller than Electron. It is already stable and should be a no brainer choice for any js+desktop app
Just when i was looking for how to build desktop application. Lewis you are awesome😃.
electron is good but it takes up so much ram and space because it comes with chromium so thats why i like to use tauri and yeah it is really good
I feel like just when you're about to understand this one thing, and then suddenly something new comes up to replace the very thing you're learning. Feels very demotivating and hopeless because how can we ever catch up
Tauri is very fast but notification click is not working on that. And it makes it useless for you to make information based app
I'm curently build POS app using tauri + next.js. And that's fun. Just got some bug like notification suddenly missing on tauri, gonna wait for tauri 2
Keep up, person. Compose multi-platform is all the meat now
Someone actually did a benchmark with both
And the memory and resource hogging is the nearly same between them
Tauri is going to be annoying to test for different OSs, especially for Linux where there is multiple webview runtimes for different Desktop Enviroments
Neutralino JS is also a great option, it works really well with smaller application size and memory footprint
🤦♂️🤦♂️🤦♂️
@@judedavis92 anything???
@@paladinuserfem what do you mean?
Electron is supposedly a better option than the legacy option of Cordova, but with "web" apps there is always going to be limitations on what you can do in javascript, especially around interacting with the operating system.
With my Cordova app, which also runs a web app in a container, you can't do anything to directly browse the user's storage to load/save files because the embedded web browser hosting the app has built in security features blocking the "web" application from accessing anything on the system. In order to get my app to work (on my android phone), I had to create a plugin using Java which saves the files, and Cordova had to load that plugin to use within my app. Very difficult way to develop the app IMO.
But Can I make game engine like Unity or Godot out of JavaScript?
Sure if you dont care about performance sure!
Modifying your apps using other forms of chromium that's more lightweight like thorium
if React-Native had Windows…
Qt for C++💪💪💪
Very great app are made with electron. But they are slow as hell and try to enshittify easily. I'm lookin at you "MS Teams"!
What about neutralino? Same benefits as tauri but still entirely js like electron
VS Code is written in ElectronJS btw
That's what makes me concerned when making desktop app with electronjs. So I stick to the native language instead.
Can someone explain to me what's the electron on this video mean, i mean it's that same electron on atom? How it's works
Arch Linux does Electron right, by making you have the version installed, and not installing it again and again for each program that uses it
See, that's why if you're big brain you only package the entire Skia with your application :)
Say it with me everyone: "Chromium is not the same as Google Chrome!"
Also, just use PWA apps. "Installs" instantly, appears like a native app and doesn't package another browser when you already have one. Plus, you literally just use the same code as your web version.
VSCode does NOT use Electron. They forked a small part of it
idk why everyones hating soo much, really cool reliable apps are built on electron
Because electron adds bloat for no reason. VSCode uses 35x more ram than Vim on my machine, for example.
very good. I from in brazil
JS is an emerging language. In the future it's gonna everywhere. Started from browser, now it can be used in backends, servers, mobile applications, desktop applications and even blockchain also uses Javascript.
1984 be like.
please no
oh wow, built in telemetry
Or you can use C and SDL2 as always :)
When we call him out for calling electron lightweight he uses it as new content idea kekw
Bois if you want JS dont use electron,
Use NodeGUI or React Native Desktop or Proton Native or Just a PWA their are a lot of aptions, and M just saying these days the performance gap in electron is so tiny so electron is good too
Why not just use C# or C++? Im not sure but i think theyre faster? Someone tell me
Assuming we're happy with running 500Mb Chromium
Wait, is it just me or did the progress bar really overflow after the chrome memes?
Like oh my god
Tauri technology is new and is 10x less buggy crazy huh
One huge downside: “It’s slow”
If possible where is the source of your information
Talk more about tauri
Rip
Zooble
(0001-2023)
Does Tauri use monads though? :^)
Electron is not great though...
No multi window support and out dialogue 😂
Just use c# ......
How about just don’t use JavaScript?
I guess it’s being used for more than what it’s worth 🤮🤮🤮
One reason why chrome uses so much RAM is because of the slow JavaScript calls. People should start realising that JavaScript is actually just best suited for the web, not much else.
Not even the real reason Chrome is so resource heavy is because of how they handle tab management.
Someone explained it to me plain and simple everytime you open a new tab in Chrome it counts as a new instance of Chrome being opened (as in a new window)
01:00
Ofc rust comes out of nowhere
yeah all matter has electrons
What about ionic
Just use PWAs, easy.
Learn the mother of Javascript, JAVA
Why don’t folks just use something different from JavaScript? 😵💫
Use GTK!!
I ❤ Tauri
chromium is not chrome
Please all the video is good but stop the but joke please
best solution: DON'T make desktop apps in javascript
What do you recommend for desktop applications??
@randidoesthings C# is good if your using Windows, MAUI, WPF, you can transpile C# to C++ if you need to.
@@astrahcat1212 huuu gotcha! Always just curious what people recommend and stuff!!^^ ive not done much desktop c# stuff might be worth checking out then!
Idk tauri has been pretty good. Rust doesn't have good gui libraries from what i have seen so offloading that part to js frameworks like react seems pretty smart.
Kotlin is super nice and MAUI with C#
Nooooo, dont use electron !!
That's a big peach
so you're telling me that I, a vscode user have been coding in a web browser this whole time
Ye, i forgot how exactly but there's a way to inspect elements and you'll see it's an html tree 😅
@@chetan9533 is the regular old visual studio 2019 and 2022 the same???
@@mridontclickbaitftw4366 I don't know much visual studio, i use visual studio code.
Visual studio if i remember correctly is mostly dedicated for c# dev work and comes with all the tooling around c#/dotnet dev built into it.
Visual studio code(vscode) on the other hand is a comparatively light weight, general purpose IDE that we see in almost all web dev tutorials. We can install extensions to make it work well with various languages/frameworks.
@@mridontclickbaitftw4366 The Visual Studio IDE is completely different from the Visual Studio Code text editor. The IDE runs natively and not inside a web browser.
BUT.....
Another js framework
Flutterrrrr
Yeah but you have to use JS 😂
(use .hta file)
.
isnt chromium just a virus? yeah i aint downloading that
Don't do drugs and electron kids.
It's cool and interesting. I just don't understand why you would do this though. There's several better options, but really, C# is the best. C# is king of desktop apps. Especially when the standard JS library is so horrible. You shouldn't have to use third-party libraries for (relatively) simple things.
Then please tell me how do I make a cross-platform app with c#, the only thing I found was avalonia with xml. Pretty terrible dx.
Do we really need desktop apps anymore?
Can We do it with Python ?
Not sure, but still it would lag as hell without any backend (not the server but a fast language that'll act as the bridge between the OS and custom logic because python and javascript both are meh for performance )
🤮 python, why ruin it
I used Tauri for my internship, built an app that controls the workflow of a medical device, it was a good choice I made I think because it was really easy to use and you don't even need to learn rust as you can just ignore the default rust backend and use your own NodeJS one for example, and no rust coding needed.
I've worked with ElectronJS por a months, and I just loved, because de benefit of a desktop app is that you won't need a Back-end server, the "back-end" is the machine of the client xd
😂😂😂
Nice info
🎉 great your approaching
This is why I will only learn HTML
I'm sad.
Hi sad I'm dad
@@randomname2437 Hi dad I'm mad
@@randomname2437 why did you name in this way?
@@SENTRY456123 why why whyyy
node-webkit aka nw.js is way better and faster than electron, plus it support a compilation from js to binary and include this files into ur js code.
Yesss Tauri. I transferred over to it shortly after starting with Electron
The world doesn't need more electron apps.
I prefer apps that aren’t made in js, maybe C apps
well, maybe REAL designers are too expensive
Tauri