Re:Usbimager – A non-electron based alternative to Balena Et...
by ale42 on Tuesday October 19, 2021 @06:13AM
(#28916562)
Why should it be JavaScript?
If we generalize to other languages, Qt does it very well in C++. You might like Qt or not (I'm not a big fan, but heavily prefer it over Electron), but it definitely does the job using much less resources than Electron (but still much bigger than pure platform-dependent native code...)
Re:Usbimager – A non-electron based alternative to Balena Et...
by SavantIdiot on Tuesday October 19, 2021 @02:28PM
(#28921601)
> Why should it be JavaScript?
Because that is a design requirement.
Re:Usbimager – A non-electron based alternative to Balena Et...
by lpcvoid on Wednesday October 20, 2021 @10:58AM
(#28931420)
That is one of the most sad design requirements I have ever read, then.
Re:Usbimager – A non-electron based alternative to Balena Et...
by charsi on Monday October 18, 2021 @01:32PM
(#28908134)
If all the assets are downloaded from your website then make it a PWA. Example - ms outlook (web version).
If you want to put the assets on the user's computer run it as a webserver on localhost and launch it in the user's already installed browser. Example - syncthing.
Browser weirdness is not a thing anymore. So packing your own build with the application is super weird.
Re:Usbimager – A non-electron based alternative to Balena Et...
by SavantIdiot on Monday October 18, 2021 @04:53PM
(#28911578)
I thought of distributing a node server, but it is going to non-sophisticated users who expect a EXE or DMG or tar.gz and a binary. Also, it interfaces with a wide range of system hardware, USB, VISA, serial ports, GPIB, etc. I tried to build a docker image, but that also was too complex for the end user, and it had some serious hardware issues with some USB devices.
Re:Usbimager – A non-electron based alternative to Balena Et...
by lpcvoid on Wednesday October 20, 2021 @11:01AM
(#28931455)
So you have requirements to interface to low level peripherals, and you need to do this in the worst language ever invented, which is at the same time one of the highest level languages? It boggles my mind.
Re:Usbimager – A non-electron based alternative to Balena Et...
by sudosysgen on Monday October 18, 2021 @01:00PM
(#28907755)
You understand that such a solution would have exactly the same issues as Electron, right?
I would be delighted if there was an alternative. I ask every time an Electron hate discussion pops up. Still nothing anywhere near as good for Node Server + Browser Framework.