-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please switch from Electron #3799
Comments
Yeah, Balena is slower than Rufus but maybe isn't Electron guilty for this, maybe is the code |
Device access requires some native code that is handled via a plugin (for lack of better description) that the electron app calls. I can't speak to the speed but it's using something native to access devices. |
Electron is not only a big horse shoe (etcher was already 0.5GB years ago!) but also often a security mess...
Not sure why that needs electron - usbimager can do everything (including respecting the users privacy) and comes in a executable package of less than 0.5MB for all platforms you can imagen.
The linked website claims for "Compressed write time (4)":
I think this times we are even more in need for efficient and small software. |
I haven't treied USBImager. I was just using Rufus as example because I used it often, and I think that it is a greate example of time difference. When it comes to smaller ISO images balenaEtcher is OK. But when it comes to big ISO images, balenaEtcher is very slow. |
Hi, electron is the front end and doesn't have much of an effect on performance. The We will eventually probably move on from Etcher, but as of now, it's a fairly good solution for us.
This does not seem right. Etcher should be as fast/faster than Rufus for If not, are you just using the plain download from the arch website? If so, I can test on my machine and see if I get similar results. |
There is a BIG difference in performance actually. usbimager starts virtually instant on my machines while etcher used to (not using this *ware anymore) always take seconds to present the gui! |
I assume you meant to write "Electron" there? 😉 |
Haha, yes
Right, well, that's just loading time for the GUI, I was meaning flash time. We are working towards segregating the view from the controller. After that, it opens a lot more options to use, like using webview or React Native. This is a medium level priority though, and we currently have a few high-level priorities we are taking care of. |
@mcraa The people want webview!! |
Guys, you should try Tauri |
@Andrej123456789 That is on the list...unfortunately, it would involve rewriting our entire back end in Rust for now though |
It is hard job but in long run it might be better but we can still use usbimager and Rufus if we have working Windows installation |
@Andrej123456789 usbimager is available for literally all platforms! It would be funny (or sad) to calculate what energy etcher is wasting when downloaded and burning a image and then to compare it to other solutions which have magnitudes smaller binaries and no dependencies, adware, spyware etc. included. |
Etcher doesn't have adware or spyware. There is some minimal telemetry data for internal Balena use and features of the latest Balena projects, some of which are user driven. We don't sell ads to anyone. I've started hacking together a Tauri version of Etcher, as we have a policy similar to Google's 20% rule...I'll let you know how it goes! it seems like a lot of users want this. |
Great |
I actually have no idea how it is nowadays (don't use that *ware anymore) but in the past there were hell lot's of connection to all over the world when only opening etcher (most of them were included "unintentional" once discovered 🤔)
Most of the closed issues are not (technically) resolved and therefor closed (some even with censored posts) but only because dev's don't have/show interest in that problems Also in my world software which only runs with ads is considered adware (that would be certainly qualify etcher for adware). 🚮 But like said before: I really don't think there is much use left for etcher because there is privacy respecting alternatives with a fraction of the size like usbimager available that probably fits most users much better and does not have such a negative impact on the environment. 🌟 Beside it looks like etcher is a possible security nightmare and uses EOL electron for example ☠️ |
Any updates on this issue? |
Sorry but this feels like an off topic since the electron question was already answered and 'other' stuff creeped in. |
Thanks for chiming in @thedocbwarren. Yes, sadly, this and some other issues were driven off-topic.
If "this" refers to the original question, let me close with a summary
Then this "middleman version" could be migrated with smaller effort to (tauri, browser, webui, whatever) |
If you already planning to move away from Electron, this issue should be open because nearly everyone says that they are doing something but then they close issue and doing nothing. Acts, not words @mcraa If you are planning to stay on Electron, that is ok, just say you want stay and then close issue Also Electron don't support Windows 7 anymore |
"Planning to" doesn't mean it's the highest priority and that everyone will drop everything else to do it. That being said the project that are showcased in the app are community driven project on our own platform. Telemetry is actually quite limited, anonymous and easy to turn off. Again this is free software that you're welcome to fork... |
Rufus (written in C) is much faster than your bloated Electron mess.
I was mounting Arch Linux ISO on my USB, Rufus took about 3-4 minutes.
Balena Etcher took 14 minutes (validation not included). So please at least
switch from Electron.
The text was updated successfully, but these errors were encountered: