ELECTRON: why people HATE it, why devs USE it

Subscribers:
390,000
Published on ● Video Link: https://www.youtube.com/watch?v=G1K0Mb-rLBU



Duration: 17:19
152,769 views
7,345


Download the open source best practices report here: https://meet.tuxcare.com/idc-peerscape-study
Grab a brand new laptop or desktop running Linux:https://www.tuxedocomputers.com/


👏 SUPPORT THE CHANNEL:
Get access to a weekly podcast, vote on the next topics I cover, and get your name in the credits:

YouTube: https://www.youtube.com/channel/UC5UAwBUum7CPN5buc-_N1Fw/join
Patreon: https://www.patreon.com/thelinuxexperiment

Or, you can donate whatever you want: https://paypal.me/thelinuxexp?locale.x=fr_FR

📹 MORE VIDEOS FROM ME
Linux news in Shorts format: https://www.youtube.com/channel/UCtZp0mK9IBrpS2-jNzMZmoA
Gaming on Linux: https://www.youtube.com/channel/UCaw_Lz7oifDb-PZCAcZ07kw
I'm also on ODYSEE: https://odysee.com/$/invite/@TheLinuxExperiment:e

🏆 FOLLOW ME ELSEWHERE:
Twitter : http://twitter.com/thelinuxEXP
Mastodon: https://mastodon.social/web/@thelinuxEXP
Pixelfed: https://pixelfed.social/TLENick
Discord: https://discord.gg/xK7ukavWmQ

📷 GEAR I USE:
Sony Alpha A6600 Mirrorless Camera: https://amzn.to/30zKyn7
Sigma 56mm Fixed Prime Lens: https://amzn.to/3aRvK5l
Logitech MX Master 3 Mouse: https://amzn.to/3BVI0Od
Bluetooth Space Grey Mac Keyboard: https://amzn.to/3jcJETZ
Logitech Brio 4K Webcam: https://amzn.to/3jgeTh9
LG Curved Ultrawide Monitor: https://amzn.to/3pcTVDH
Logitech White Speakers: https://amzn.to/3n6wSb0
Xbox Controller: https://amzn.to/3BWmIA3
*Amazon Links are affiliate codes and generate small commissions to support the channel*

This video is distributed under the Creative Commons Share Alike license.

#linux #electron #webdevelopment


00:00 Intro
00:33 Get a free study on open source best practices
01:38 How electron works
02:47 Why developers like electron
06:37 System integration isn't good
10:15 Disk usage and performance
13:03 Linux needs electron
14:54 Get a laptop or desktop that runs Linux out of the box
16:00 Support the channel


Discord issues with electron: https://theevilskeleton.gitlab.io/2022/05/29/a-letter-to-discord-for-not-supporting-the-linux-desktop.html

OMGUbuntu list of electron apps: https://www.omgubuntu.co.uk/2019/02/best-electron-apps



So, what IS electron, exactly?

electron is a framework that lets developers create applications using web technologies, like javascript, HTML or CSS. It's open source, and it's cross platform, meaning that apps built with electron run on Windows, Mac and Linux.
ectly inside of the app, instead of being accessed on the internet.

So why do developers go the electron route?

Developing apps using native technologies on all platforms takes a long time, a different set of skills and knowledge for each platform, and so you need more developers, more time, and more money.

Electron lets you develop ONCE.

Second reason: debugging code for web technologies like javascript is pretty easy compared to lower level languages like C, C++, or objective C. Javascript is interpreted line by line, so noticing where the error is is way easier.


Another reason is that electron apps can auto update very easily: all you have to do is make sure that your electron app can detect when the code for your website has changed, and download the new files on your computer, a quick reload of the page, and you're up to date.

But, electron has a bunch of issues as well.

First, electron doesn't integrate really well with the operating system: it's just a web browser displaying a website that is stored on your computer instead of being stored on a server. This means that if electron doesn't support a specific feature of your operating system, the apps using it also won't.

A bigger problem, though, is the fact that developers often don't update the electron base, or not often enough. Electron, using CHromium, needs to be as up to date as any web browser you'd use everyday, to ensure that security flaws are patched.

That's often not the case. And it gets worse when you take into consideration operating system integration. An example is Discord on Linux. It uses an older version of electron, that doesn't support Wayland very well. electron does have wayland support, and good support at that, but Discord, by not updating the electron version they use, deprive users of that support.

And then there's the performance and resource usage. Since electron apps ship basically the whole of chromium's codebase, they aren't small. Discord, for example, once installed, weighs more than 700 MB. Almost a gigabyte. Even the most basic of Hello World applications would take about 100MB, just to display a line of text.

And there's the performance impact: chromium isn't a lighweight browser at all. Discord, again, on my system, with all its processes, uses about 480 MB. And that RAM usage is the same whether the app is minimized to the tray or fully open. GIMP, when opening a new blank document, uses 500MB.

And still, specifically for us Linux users, electron means we get applications on Linux that we wouldn't have had otherwise.




Other Videos By The Linux Experiment


2022-08-06Steam Deck after 5 MONTHS: one major concern...
2022-08-04Google's Linux distro, Linux on M2 macs, and Material You for GNOME - Linux and Open Source news
2022-08-02Linux Mint 21 keeps the crown, but for how long? Cinnamon, MATE and XFCE review
2022-07-28THE END of Big Tech gatekeeping, and Intel ray Tracing goes x100 - Linux and open Source News
2022-07-26SUPER AFFORDABLE Ryzen powered Linux desktop: DeskMini UM350 Review
2022-07-23Should LINUX DISTROS still PACKAGE applications? The problem with UNOFFICIAL packages
2022-07-21Google wants to REPLACE LINUX?, GNOME 43, and Unreal Engine on Linux - Linux and Open Source News
2022-07-18PopOS is SPECIAL, and I'm moving to it, here's why!
2022-07-14Microsoft makes Linux INSTALLS HARDER, and Mint 21 beta - LINUX and OPEN SOURCE news
2022-07-129 AMAZING COMMAND LINE TOOLS for Linux
2022-07-09ELECTRON: why people HATE it, why devs USE it
2022-07-07GTK could drop X11, Firefox is more private, and new Linux laptops - Linux and open source news
2022-07-05Privacy is DEAD, I have NOTHING TO HIDE, and other privacy myths and misconceptions
2022-07-03DEEPIN: is the MOST BEAUTIFUL Linux desktop GOOD?
2022-06-30Thunderbird's huge update and Google's new antitrust issues - Linux and open source news
2022-06-28My 6 WORST LINUX MISTAKES
2022-06-25I bought THIS LAPTOP: Tuxedo Stellaris 15 Gen 4 Review
2022-06-23Valve's new VR headset, Brave Search anti-bias tool, Microsoft vs FOSS copycat apps - Linux news
2022-06-21MICROSOFT gives $10K to GNOME #SHORTS
2022-06-20How to contribute to open source software without coding skills!
2022-06-16Photoshop on the web, Thunderbird on Android, and Linux malware: Linux and open source news



Tags:
linux
elementary os
open source
distribution
linux distro
linux help
linux tutorial
linux 2022
opensource
free software
linux tips
ubuntu
distro
developing with electron
why people don't like electron
why electron hate
electron bad
electron good
electron hated
electron is hated
electron is great
why use electron
stop using electron
how to use electron
using electron
electron how to
electron dev
electron JS
electron node JS
electron linux



Other Statistics

Counter-Strike: Source Statistics For The Linux Experiment

At present, The Linux Experiment has 5,613,242 views spread across 58 videos for Counter-Strike: Source, and about 7 hours worth of Counter-Strike: Source videos were uploaded to his channel. This makes up 4.59% of the content that The Linux Experiment has uploaded to YouTube.