News for hackers. Stuff that matters.
Re:Servo in 2024: stats, features and donations by horsawlarway on Wednesday February 05, 2025 @12:58PM (#42952479)
I mean... Just to be clear, Electron has pretty much taken the world by storm.

Huge number of Enterprise/productivity apps are shipped on Electron.

It's hard to beat the value proposition on the business side if you need a website for the product.

Re:Servo in 2024: stats, features and donations by infogulch on Wednesday February 05, 2025 @02:28PM (#42953792)
True but anyone that cares about battery life or runs more than one of these apps hates it. So I guess my threshold for "taken by storm" is both "very common" and "users don't hate it".
Re:Servo in 2024: stats, features and donations by icedrift on Wednesday February 05, 2025 @03:16PM (#42954497)
It is tragic that the only robust solution for cross platform apps eats up so much memory and storage but we're getting to the point where it's not that big a deal.
Re:Servo in 2024: stats, features and donations by viraptor on Wednesday February 05, 2025 @05:48PM (#42956471)
Java and .Net/Avalonia are right there... Electron is not the only cross platform solution.
Re:Servo in 2024: stats, features and donations by infogulch on Wednesday February 05, 2025 @09:05PM (#42958114)
While .NET has the cross-platform-vm thing going, is not particularly suited to cross-platform rendering. The web is. And don't get me started on WPF.
Re:Servo in 2024: stats, features and donations by viraptor on Wednesday February 05, 2025 @09:15PM (#42958194)
That's why I mentioned https://avaloniaui.net/ which does the part. WPF is not bad compared to everything happening in the web frameworks.
Re:Servo in 2024: stats, features and donations by AcquiescentWolf on Wednesday February 05, 2025 @11:29PM (#42959099)
I disagree. After working with WPF for a while, I'd prefer almost anything from the frontend world (except React) over WPF. Avalonia is nice though.
Re:Servo in 2024: stats, features and donations by throwaway2037 on Wednesday February 05, 2025 @11:20PM (#42959044)
Is WPF cross-plaform?
Re:Servo in 2024: stats, features and donations by AcquiescentWolf on Thursday February 06, 2025 @12:28AM (#42959392)
* WPF: Windows-only.

* MAUI: Windows, macOS, Android, iOS.

* Avalonia: Windows, Linux, macOS, Android, iOS, browsers.

Re:Servo in 2024: stats, features and donations by lmm on Thursday February 06, 2025 @02:37AM (#42960034)
I can remember when the rhetoric against Java apps being "slow" was just as strong as it is against Electron now. And they've always been less native-feeling and clunkier than Electron.
Re:Servo in 2024: stats, features and donations by pjmlp on Thursday February 06, 2025 @03:36AM (#42960338)
Java is a ferrari when compared to Electron.
Re:Servo in 2024: stats, features and donations by lmm on Friday February 07, 2025 @08:12PM (#42979379)
How so? I know there are theoretical arguments and microbenchmarks that Java might be faster than JavaScript, but I've never seen an actual user-facing GUI app in Java that felt smoother to use than good Electron apps.
Re:Servo in 2024: stats, features and donations by viraptor on Thursday February 06, 2025 @07:55AM (#42961874)
Electron shifted the scales to below the old Java while Java improved. It's still not great, but given a choice? Let Electron die.
Re:Servo in 2024: stats, features and donations by pjmlp on Wednesday February 05, 2025 @03:26PM (#42954623)
If you need a Website, use a browser.
Re:Servo in 2024: stats, features and donations by horsawlarway on Wednesday February 05, 2025 @03:28PM (#42954644)
They do and and they did. You just don't like that they used the browser in both places.
Re:Servo in 2024: stats, features and donations by pjmlp on Wednesday February 05, 2025 @03:37PM (#42954755)
My computer already has an browser installed, I am not a browser collector.
Re:Servo in 2024: stats, features and donations by horsawlarway on Wednesday February 05, 2025 @05:28PM (#42956241)
Might be better if you were, though.

Personally - I collect quite a few for different things. I almost always have at least chrome, firefox, ungoogled-chromium, and - recently - ladybird installed.

Not to mention a couple different chromium versions for various electron apps (slack, discord, etcher, bitwarden, vscode, postman, etc).

Different browsers do different things well, and electron does the "desktop app" niche better than the others right now. In the same way that ladybird does the "not tracked by corporations" part, and firefox does the "still supports manifest v2 extensions" part.

You can complain all you'd like (and I recognize you from other places hating on electron) and it's fine, but it doesn't change incentive structures for the folks deploying these, and as a full time linux user... I am SO fucking happy to have all the BS apps my company requires "just work" on my computers because of electron.

If you don't want to use software developed with Electron... more power to ya. Go make that choice. Leave the rest of us out of it.

From my side... it'd be great if we can make electron suck less (and trust me, I definitely agree that we can), but right now... it's still a pretty huge win.

Re:Servo in 2024: stats, features and donations by pjmlp on Wednesday February 05, 2025 @05:37PM (#42956353)
Only one Electron app is tolerated on my computer, VSCode, and that is because for some stuff that is the only place I get plugins for, and that is about it.

Everything else, if there is a Web app, then I use the browser, no need to ship it alongside every single application out there.

It is like those garbage mobile apps, that are exactly the same website that I can access via the Webbrowser, packaged inside a "native" app.

And I say this as someone that works primarly in distributed systems and Web.

Re:Servo in 2024: stats, features and donations by jay_kyburz on Wednesday February 05, 2025 @09:16PM (#42958197)
I don't like VSCode, but I wanted to agree that I use Discord and Slack in a browser tab and see very little reason to run them in their own exe.
Re:Servo in 2024: stats, features and donations by johnisgood on Thursday February 06, 2025 @09:59AM (#42962976)
Pretty much this.
Re:Servo in 2024: stats, features and donations by eddd-ddde on Wednesday February 05, 2025 @05:31PM (#42956277)
Except that means you're locked in to web APIs.
Re:Servo in 2024: stats, features and donations by pjmlp on Wednesday February 05, 2025 @05:33PM (#42956309)
As it should be.
Re:Servo in 2024: stats, features and donations by akritrime on Wednesday February 05, 2025 @03:17PM (#42954507)
Yeah I was going to comment the same thing. A very big reason why we are even having this conversation about a browser engine powering native apps is because electron exists. Yes it's sub-optimal but that hasn't impeded its conquest in the slightest.