2 ms·
You may ask, but given latest advancements in identifying people from trivial information, I'll be a bit cagey about it. I'll say I'm not 20 anymore. :) I'm ce
by llbbdd 7mo ago
You may ask, but given latest advancements in identifying people from trivial information, I'll be a bit cagey about it. I'll say I'm not 20 anymore. :)
I'm certainly not trying to be insulting, but these threads do get more than a bit tiresome. There's very little curiosity in them towards understanding why Electron is so popular; maybe a tendency lately of HN to assume that popular things are bad, or that large companies do things exclusively for the wrong reasons.
Efficiency is coming up a lot in this thread, and almost universally without definition, because the people making claims about it are implied to be measuring the efficiency of the same thing: how fast your software can run on the least possible hardware. But efficiency can also describe how you use time, which as they say is the one thing you can't ever have more of. Or money, which is also rarely infinite.
In this thread I see takes like:
- "They're a huge company, they can afford to do it native!" (or they can write it once across 3 OS and the browser, and spend the time on other things)
- "Electron has bad performance!" (non-native performance isn't the same thing as bad performance, using more RAM than you think it should consume isn't automatically bad performance)
- "The UI is inconsistent with native apps!" (take it up with product and design, remember Skype? Or AIM)
Electron isn't going to take over the bare-metal powerhouse app space anytime soon, but that's not why anyone builds anything with it. It saves dev time, it makes the economics of bothering to support Linux desktop users make sense, most actual customers have more RAM than they need anyway, and you can still call out to native code for the perf sensitive parts.
Like you and the article said it's about caring. There are definitely bad Electron apps. There are bad programmers at every level between the user and the metal. But the scapegoating on here is so predictable I could have predicted half the responses in this thread with my eyes closed given only the title of the article and some of them are borderline against the guidelines in how little they further discussion. I at least hoped my comment was funny, even if it didn't add much either.
- adithyassekhar 7mo agoThe age question was bit of an overreach on my part, sorry about that, I felt like you were one of those new developers who only ever had high end macbooks. You are right about the economics side and I don't hate electron in particular. Just the general state of the industry. Even native is incredibly slow nowadays while spending 1000x more cycles. It's crazy.
- llbbdd 7mo agoNo sweat, I wouldn't poke my head up in threads like these without expecting at least a little friction in return. The first machine I ever used and wrote code on was a hand-me-down former "work laptop" that had been kitted out to run Lotus Notes and basically nothing else. Trying to get anything to run on that forced me to learn how computers work. I definitely agree regarding the state of the industry as far as performance and care for the user goes across the board, even with the hotrod hardware we have access to now. Maybe it was inevitable with scale and time and I do lament that it's harder to economically justify cranking the most possible out of the hardware. With my original comment I mostly meant to convey a joking exasperation that these threads are rarely even about real profiling or real-world tradeoffs that make for interesting discussion anymore but just rote "Electron bad".
- croes 7mo ago> most actual customers have more RAM than they need anyway, Screw the rest and if every app is an electron app that’s not true at all. It works if few apps are Electron apps > and you can still call out to native code for the perf sensitive part What is rarely done It’s just another reason why computer get faster and faster but apps don’t. Thanks to electron apps I can type faster than the program reacts and sometimes it even misses a key. Did never happen on a desktop app
- llbbdd 7mo agoIn very recent memory, apps in general being cross-platform was "rarely done". The alternative world without something like Electron is not perfect native applications on every platform, it's choosing to support one or both of the major operating systems that people actually use. If you've never had a native app skip or a key or lag because you typed too fast, I don't know what to tell you. I've used some real garbage production software written entirely in God's own C that had those problems. I have twelve instances of VSCode open right now, some with huge projects, and cumulatively they're taking up less than 2GB of memory. It's just throwing stones in the wrong direction to put this blame on Electron at this point.
- croes 7mo agoAnd you missed totally the point on this > They're a huge company, they can afford to do it native!" They are an AI company, the AI could let it write native Devs having no time is an obsolete argument
- llbbdd 7mo agoI keep seeing versions of this take too and I don't get it. If it's just snark about how AI is being marketed as an engineer in a box, sure, but unless everyone else is using different agents than I am, they still aren't literally magic. Nobody has a button they can press to just make the whole app cross-platform native, and have it behave the same across platforms, without additional substantial handholding and time investment. And again, purely economically, why would they? When inference still costs money and time that they can invest in having the AI do other things that actually matter to their customers and business? And unless there've been recent advances in longevity I'm not aware of, individual human devs still have a fixed amount of time on this earth, and there's no end in sight to the demand for software even if we 1000x the speed we can build it at today. They can spend it doing other things instead of futzing around prematurely optimizing chat apps.
- croes 7mo agoBut that would mean they enormously exaggerate the capabilities of their models. I can’t go "look it built a browser from scratch" and "look it built a compiler" to "sorry, native apps are complicated"
- llbbdd 7mo agoThat's what I mean, this has nothing to do with Electron or why developers or companies use it. It's just kicking the tires on the marketing. Truth in advertising is always scarce, Red Bull doesn't literally give you wings either. You and I both know that AI today can't really build a browser or compiler from scratch on par with the cumulative human work put into Chrome or GCC. You could just as easily side-eye these companies like "well, if your AI is so good, why doesn't it build its own hardware and OS and run on that?". Even if they could, why would they do that except as a proof of concept? It'd still be more work and more time for no benefit at all to their customers or their business.