I often see people talking about the fact that they like a certain open-source application, but ‘it’s a shame it’s on Electron’; what does this mean? Is it a privacy thing or a resource thing?

Voxl
link
fedilink
43Y

Here are some flaws with Electron:

  • High RAM and CPU consumption since it’s based on Chromium
  • Electron apps take too much space as they’re bundled with NodeJS and Chromium runtine
  • Electron apps tend to be slow
  • Terrible sucurity
@jokeyrhyme@lemmy.ml
link
fedilink
0
edit-2
3Y

An Electron app has full access to your filesystem and to other system resources, the same as any other desktop app

Is there a specific reason or example for why we say it has terrible security here?

Chromium has an incredibly advanced and optimised graphics pipeline and the code that is running in the “web” part of an Electron app benefits from Chromium’s sandbox

AgreeableLandscape☭
banned
link
fedilink
5
edit-2
3Y

removed by mod

You mean how like nobody ever ever pipes the output of curl into a bash with root privileges? :P

Maybe we should ban cURL when we ban Electron?

AgreeableLandscape☭
banned
link
fedilink
7
edit-2
3Y

removed by mod

I guess a better parallel is using C/C++ to write software, where it is trivially easy to mismanaged memory in ways that cause 70% of CVEs

If we were being consistent, we’d be trying to eliminate all software written in any language or framework where it is trivially easy to introduce security issues

I wonder how many anti-Electron folks are also logically anti-C/C++ ?

AgreeableLandscape☭
banned
link
fedilink
1
edit-2
3Y

removed by mod

Nathan John Cooper
creator
link
fedilink
23Y

Thanks.

Nathan John Cooper
creator
link
fedilink
33Y

Ahhh, I see; so, essentially, a combination of both resources and privacy.

Create a post

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

  • Posts must be relevant to the open source ideology
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

  • 0 users online
  • 5 users / day
  • 14 users / week
  • 19 users / month
  • 6 users / 6 months
  • 22 subscribers
  • 584 Posts
  • 1.24K Comments
  • Modlog