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 ;)

Add your own comment:

(If anyone ever actually uses Webmention/indie-action to post here, please email me)




Format with:

(You should probably use "Text" mode: URLs will be mostly recognized and linked, _underscore quoted_ text is looked up in a glossary, _underscore quoted_ (http://xyz.pdq) becomes a link, without the link in the parenthesis it becomes a <cite> tag. All <cite>ed text will point to the Flutterby knowledge base. Two enters (ie: a blank line) gets you a new paragraph, special treatment for paragraphs that are manually indented or start with "#" (as in "#include" or "#!/usr/bin/perl"), "/* " or ">" (as in a quoted message) or look like lists, or within a paragraph you can use a number of HTML tags:

p, img, br, hr, a, sub, sup, tt, i, b, h1, h2, h3, h4, h5, h6, cite, em, strong, code, samp, kbd, pre, blockquote, address, ol, dl, ul, dt, dd, li, dir, menu, table, tr, td, th

Comment policy

We will not edit your comments. However, we may delete your comments, or cause them to be hidden behind another link, if we feel they detract from the conversation. Commercial plugs are fine, if they are relevant to the conversation, and if you don't try to pretend to be a consumer. Annoying endorsements will be deleted if you're lucky, if you're not a whole bunch of people smarter and more articulate than you will ridicule you, and we will leave such ridicule in place.


Flutterby™ is a trademark claimed by

Dan Lyke
for the web publications at www.flutterby.com and www.flutterby.net.