top 50 comments

sorted by: hot top controversial new old
[–] 232 points 3 years ago (63 children)

People that are upset about electron should consider it’s not:

Electron App vs Wonderful Fully Supported Native Linux Application

The reality is that your choice is largely:

Electron App vs No App (maybe running their windows app in wine if you can get that to work)

It’s not like companies are going to go build a native linux app but electron got in their way. It was always electron or no support.

So if you like the app, remember that the ram and the cpu you paid for doesn’t provide value unless it’s doing something. There’s no trophy you get at the end of your life for “most cumulative ram left idle”

  • source
  • hideshow 63 child comments
  • [–] 35 points 3 years ago (5 children)

    So if you like the app, remember that the ram and the cpu you paid for doesn’t provide value unless it’s doing something. There’s no trophy you get at the end of your life for “most cumulative ram left idle”

    This is a damn homicide lmao

  • source
  • parent
  • hideshow 5 child comments
  • load more comments (3 replies)
  • [–] 27 points 3 years ago (5 children)

    A lot of the time, the alternative would be a website running in the browser.

  • source
  • parent
  • hideshow 5 child comments
  • load more comments (3 replies)
  • [–] 23 points 3 years ago

    Well, there's also Tauri which requires slightly more testing since you actually use the device's built-in browser, so there might be differences. The upside is a much smaller bundle size, quick start-up times and often less RAM usage than with Electron.

  • source
  • parent
  • [–] 16 points 3 years ago

    What about laptop battery life? More CPU usage = less battery life. WHY DOES NO ONE GIVE A FUCK ABOUT BATTERY LIFE???

    The single most reason I switched from Spotify to Apple Music is that I was sick of seeing the Spotify macOS app at the top of the "High Battery Usage" page on Activity Monitor. I also actually noticed less battery life. Fuck Electron. I avoid apps made in it like the plague.

  • source
  • parent
  • load more comments (23 replies)
    [–] 57 points 3 years ago (23 children)

    This might be a hot take but I've noticed some complicated electron apps are faster than some simple native apps. The striking example to me is how Vs code runs better and has a lower startup time than the stock Windows 11 File manager.

    A well written electron app is better than a poorly written native app sometimes.

  • source
  • hideshow 23 child comments
  • [–] 56 points 3 years ago (10 children)

    I mean, sure, but:

    1. The Windows File Manager is really just awful in that regard. You can get alternative file managers that start up in a fraction of that time, with more features.

    2. Startup time isn't really the worst of it. RAM usage is worse. And if a program uses lots of RAM, it will still appear quite performant. But it makes everything else on your system slower.

  • source
  • parent
  • hideshow 10 child comments
  • load more comments (7 replies)
  • [–] 19 points 3 years ago (1 child)

    I mean sure once you start getting big enough, you'd probably be bundling all the features of chromium anyways, and any extra bloat is meaningless. Chromium and thus electron are extremely well optimized so if you are using the full feature set it will be fast.

    But please stop using vscode as the benchmark electron app. It is not comparable. No other application in history has as large of a talent pool as vscode and It's possible none ever will either.

  • source
  • parent
  • hideshow 1 child comment
  • load more comments (1 reply)
  • load more comments (1 reply)
    [–] 47 points 3 years ago (9 children)

    What does Ctrl shift I do (I'm not at my computer and I don't have any electron apps installed)

  • source
  • hideshow 9 child comments
  • [–] [S] 74 points 3 years ago (5 children)
  • [–] 13 points 3 years ago (4 children)

    Does it really have to? Vscode is built on top of it, I don't think it's ever opened chromium dev tools for the app (maybe I'm wrong?)

  • source
  • parent
  • hideshow 4 child comments
  • [–] 33 points 3 years ago (1 child)

    Some apps can disable it, I think Discord does so people don't get tricked into pasting random scripts into the console

  • source
  • parent
  • hideshow 1 child comment
  • load more comments (2 replies)
  • load more comments (3 replies)
    [–] 44 points 3 years ago* (6 children)

    ITT: some people are mad the web became the application platform of choice, in part due to handy dandy cross platform app tools like Electron and accessible languages like JavaScript.

    There is no perfect answer. Qt isn't using the platform's native capabilities to the fullest extent either. Qt requires a "wrapper" too--all those libraries your app depends on, to name a few (unless you got a commercial license and are compiling statically, you rich devil).

    Let's celebrate the onslaught of apps that work with Linux instead of trying to scare off developers any more than Linux already did. Make love not war. <3

    In my experience, Electron and other "web wrapper" apps run just fine and I have enough CPU and RAM to run a dozen of them alongside my 50 browser tabs. Slack, Discord, VSCode, Teams, IRCCloud, it all works fine. Hardware is cheap compared to my time.

  • source
  • hideshow 6 child comments
  • [–] 14 points 3 years ago (2 children)

    It always seemed over-complicated to me to use web technologies to create a desktop application and run it in what is essentially a browser. The tool-chain of modern web and electron apps also seems overly complicated to me (writing in a slightly different language then transpiling to an interpreted language).

    I don't find JS any more accessible than any other language with automatic memory management. JS is actually a bit of mess due to bolting on new features while keeping backward compatibility.

    I don't mind using electron apps. VS Code is pretty great.

    I think Java Swing was the apex of desktop development :)

  • source
  • parent
  • hideshow 2 child comments
  • load more comments (2 replies)
  • load more comments (3 replies)
    [–] 34 points 3 years ago (1 child)

    JS land is the America of development. You may not like it, but it's the encumbent power and it'll be that way for a long time so might as well enjoy the plus sides

  • source
  • hideshow 1 child comment
  • load more comments (1 reply)
    [–] 34 points 3 years ago (6 children)

    Just wait for Tauri for mobile so there will be no reason for somebody to use Electron.

  • source
  • hideshow 6 child comments
  • load more comments (4 replies)
    [–] 28 points 3 years ago (2 children)

    I'll take shitty electron apps over winforms any day of the week.

  • source
  • hideshow 2 child comments
  • load more comments (2 replies)
    [–] 28 points 3 years ago

    Where Linux

  • source
  • [–] 23 points 3 years ago (5 children)

    The problem is that even Microsoft choose to use Electron when they built Teams. MS got loads of developers and Teams is really a big product in terms of users.

  • source
  • hideshow 5 child comments
  • load more comments (5 replies)
    [–] 22 points 3 years ago* (last edited 3 years ago) (25 children)

    Not very found of them either but it's hard to do without them, matter wise.

  • source
  • hideshow 25 child comments
  • load more comments (3 replies)
    [–] 17 points 3 years ago (13 children)

    Dude, if it doesn't hog memory then what's the problem?

  • source
  • hideshow 13 child comments
  • [–] 35 points 3 years ago (10 children)

    It kinda do though. VSCode, without a project open has 10 processes running and uses over a half gig of ram. I like VSCode to be clear. I also like discord but it's just a chat app and apparently needs a half gig itself and 6 processes.

  • source
  • parent
  • hideshow 10 child comments
  • [–] 22 points 3 years ago (3 children)

    You should come over to vim. It only takes 12 months of intense training and an additional 3 years of super glueing random rc file configs together before it works how you want it to

  • source
  • parent
  • hideshow 3 child comments
  • [–] 14 points 3 years ago

    Yeah, but once it's all setup, you get to see all your coworkers roll their eyes when they see you use vim at every job from that point on

    So, all worth it in the end 👌

    Also, I've saved at least $5 over the last decade from wear and tear on mice

  • source
  • parent
  • load more comments (2 replies)
  • load more comments (6 replies)
  • load more comments (2 replies)
    [–] 16 points 3 years ago

    Lets write an OS in Electron and go to March. Maybe start using the right tool for the right job. If i only know how to build with lego, I dont build a real house with lego, instead i learn how to do it right.

  • source
  • [+] 13 points 3 years ago (4 children)
  • [–] 12 points 3 years ago (1 child)
    load more comments (1 reply)
    load more comments
    view more: next ›