Flutterby™! : Stop doing electron

Next unread comment / Catchup all unread comments User Account Info | Logout | XML/Pilot/etc versions | Long version (with comments) | Weblog archives | Site Map | | Browse Topics

Stop doing electron

2024-03-08 18:20:43.287384+01 by Dan Lyke 4 comments

RT veast / Chloe :3 @veast@mstdn.social

STOP DOING ELECTRON

- WEB PAGES WERE NEVER MEANT TO BE SEPERATE BROWSERS THAT TAKE UP 1GB OF RAM

- MILLIONS OF YEARS OF CHROME EMBEDDED FRAMEWORK AND YET NO REAL WORLD USE FOUND FOR MAKING YOUR MUSIC PLAYER A WEB APP

- "hello yes please take away 1gb of my ram for Discord" statements dreamed up by the utterly deranged

- WANTED TO PUT YOUR WEB APP AS A SHORTCUT ON YOUR DESKTOP? WE HAD A TOOL FOR THAT - WE PUT THE LINK INTO A SHORTCUT FILE

THEY HAVE PLAYED US FOR ABSOLUTE FOOLS

Though I would like a good cross-platform widget set that isn't going the way of everything being styled by CSS... (looking sideways at Qt here...).

[ related topics: Music Robotics Embedded Devices ]

comments in ascending chronological order (reverse):

#Comment Re: Stop doing electron made: 2024-03-10 20:26:28.429716+01 by: concept14

Preach it.

#Comment Re: Stop doing electron made: 2024-03-11 17:17:22.78147+01 by: markd

From a slack of old-time apple folk, Electron's popularity could be as much from the difficulty of hiring native developers (Macstyles there's few and far between these days - either burned out, or work at Apple), and keeping up with the yearly release break-and-churn from apple's frameworks and tools.

#Comment Re: Stop doing electron made: 2024-03-11 17:57:15.657696+01 by: Dan Lyke

I mean, a good portion of what I'm seeing on the Mac is that Mac's native bullshit has gotten so bullshitty that web dev is much better. Are you gonna get a decent layout? Maybe most of the time, but then that implicity clip view under your text view is gonna go wacky and your text will be invisible. Sometimes. And can you get away with calling -layoutSubtreeIfNeeded? Maybe. If it works, you'll be able to use the geometry of subviews reasonably. If it doesn't, well, the user will get a crash about too many layout passes, so sad.

But, sure, you can maybe figure out which combination of the 4 different ways to specify control geometry might get you a run without a "Layout constraints are not satisfiable" spew in your debug console.

And Qt has gotten all "style this up in CSS".

And Windows Forms is...

I kinda liked earlier versions of Gtk, but I think the reality is that only browser makers are building a UI toolkit these days.

So, yeah, we're quickly moving into the world where 64G is entry level machine territory, on the other hand...

#Comment Re: Stop doing electron made: 2024-03-12 03:00:20.799233+01 by: meuon

And I'm currently upset that the web interfaces I'm working on use 2 to 6 MB of browser memory. The actual page download is 50-150KB (some display a lot of data), common (cached) JS is < 160KB..and I feel they are fat.

But they are very very fast ;)