Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Well, that's...Electron for you.

The most inefficient solution (in both space and time complexity) being suggested to build desktop apps is now shown to be causing widespread sluggishness.

So much for interviewing developers for algorithms and data structures. Also Rust won't save you or make Electron faster either.



   The most inefficient solution (in both space and time complexity)
Those are not the only qualities / metrics to optimize for. Developer eXperience, cross platform, open standards, easy compatibility with websites, easiness to keep updated etc. can be far more important


Developer experience is not necessarily better with JS based stacks.

In fact it can be worse than many, including modern C++.

Of all the points you mention, compatibility with websites is probably the only one that can be considered exclusive to Electron codebases.


Developer experience is never more important than the quality of the end product. The goal is to make good software, not to have the easiest time possible making mediocre to bad software.


For most commercial endeavors, the goal is to make money. If you're lucky, that goal is somewhat aligned with making good software, but in practice there's always a compromise between quality and development cost.


This depends. Sometimes bad software can win. You're probably not a business person


>Developer eXperience

if all you can create are electron apps then you are not a developer.

>cross platform

many programs are cross platform, without the need of Electron.

>open standards

???

>easy compatibility with websites

Electron isn't necessary, e.g. Telegram.

>easiness to keep updated

not Electron exclusive

Electron exists for lazy "programmers" to make their products as fast as possible, without caring for code quality and their customers experience. This is why managers love it, it saves money: you don't need to hire proper software engineers nor allocate an appropriate amount of time to develop and maintain your product.

Electron is part of the enshitification of the web and the IT in general.


1. This is about a specific bug, not about Electron in general.

2. What better cross platform GUI alternative do you suggest?



anything which uses native code


How would that be cross platform?


Plattform independent abstractions




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: