Electron. What.
Electron. What.
Fightcade provides accounts, rollback netplay and a lobby system and is the main way that the FGC (fighting game community) plays older games online.
It works really well.
They've made it really easy to use. Can't say the same for other emulators.
the "relax" bit was pretty unnecessary and condescending.
it works well, but it's a fundamentally flawed way to produce cross-platform applications. too much performance is just wasted in the DOM and the JS runtime.
developers trade a small amount of development time profit for themselves in exchange for perpetually sluggish software for each and every one of their users, who could number in the millions. it is a few weeks or months gained for the development team, but costs years and years of cpu time measured cumulatively across all users.
the tradeoff should be the other way around. I will gladly trade away weeks of my time if it saves cumulative years of my users' time.
CPU cycles are absurdly cheap. CPU speeds have been stagnant for 15 years. Average consumer applications still aren't taking great advantage of threading and with the recent CPU architecture attacks we're better off without Hyperthreading anyway.
The absurd popularity of Electron apps like Slack, Discord, VSCode, Figma, Signal and WhatsApp with consumers says clearly that nobody minds all that much.
how many laptop charge cycles are caused entirely by electron apps using more power than traditional applications? impossible to know for sure, but easy to know that it is far greater than zero.
does this mean that you can carry my preference to its extreme and assume that I am advocating that all applications be written in Assembly and be extensively tuned? no, it does not.
I am saying that Electron is a tool of a developer who cares about their own experience over the experience of all of the users of the software they write, combined. the entire reason we write software is so that an end user's life can be made easier. if you think anything different, you likely have an MBA or don't understand why people pay for or use software. Even games are played so that the life of the player can be enriched. Part of the work ethic of this field (that apparently only I believe in) is to not deliver terrible software to end users, and it is my personal opinion that Electron developers choose what is easiest for them to get another round of funding going, and not what is best for the users who actually consume the product. These developers write for money, and to make the world a better place for themselves, at the small, but very real, expense of everyone else.
the absurd popularity of the electron apps you mention is probably due to the fact that they are only available as Electron apps or as web pages. "Look how successful electron is" doesn't count if there is not an equivalent traditional app to compare it against. And I am recalling a lot of people on the internet, including this website, and lots of people at work actively and repeatedly complaining about the performance of all of those applications, so I am not really sure that you are standing on solid ground at all.
there's another comment by me in this thread somewhere that summarizes it well, but because you asked nicely:
WARNING: OPINION AHEAD
electron encourage bad tradeoffs and because of that it is an ecological problem, literally. many thousands or millions of people suffer sluggish software and must continually wait for their electron application to respond so a few developers can save a few weeks of time. it's the exact wrong tradeoff.
web developers infest this site so I am downvoted every time I say this, but I simply do not care. web tech today is absolutely horrible and if you know that (how could you NOT) and you write web software that does not improve the landscape, you are morally bankrupt.
Cheap, easy, efficient. Pick two.
People are allowed to use easy, but (sometimes severely) sub-optimal solutions to make things they think are cool, because people make things, and there are thousands of tools that let them do so. It's why PHP is still around, and it's why people flocked to Electron. Electron won because "you should learn the hard thing" is a no-sell. They should! But they won't! Because they don't have to. And if you don't like it, go make a more efficient UI framework that is cheaper (that one's tough, free is free) and easier (and that one's also tough, but maybe you'll pull it off).
In the human race, I am but fodder. One of the masses of people just existing. I come here to learn things, and I wind up getting in arguments, because it's more or less the only place in my life where I have feelings about stuff that isn't the feeling of pure pain.