Re:Show HN: Vuido builds desktop apps using Vue.js without E...
by z3t4 on Saturday May 19, 2018 @10:11AM
(#17107960)
I'm currently developing a web app and while my nw.js/electron version is around 50 MB and uses 200+ MB of memory, loading it in Firefox it's a 600kB bundle, fully renders in less then half a second, and uses a whopping 8 MB of memory in Firefox. Actually less the HN! So while I think this project is cool, if you consider using it, also consider making a in browser web app. Also remember that the browser is more then just a HTML renderer. You have stuff like speech recognition, text-to-speech, user input, sound api, 2d/3d api, support for a bunch of mobile sensors like accelerometer, etc.
[ Parent
| on HN ]
Re:Show HN: Vuido builds desktop apps using Vue.js without E...
by roryisok on Sunday May 20, 2018 @05:35PM
(#17114876)
I think you're failing to include the firefox memory usage in that second example. the 200+MB memory of electron is because it includes the browser. Your 8MB file also needs firefox to run, so in a naked desktop environment the user first has to spin up 170MB+ of firefox before they can run your 8MB app.
Re:Show HN: Vuido builds desktop apps using Vue.js without E...
by z3t4 on Monday May 21, 2018 @02:58AM
(#17116655)
But you do not need to have five full Firefox's running for using five web-app's.
Another benefit of web apps, is that with some effort it can run everywhere, where as an app container like electron needs to have separate builds for each platform.
Re:Show HN: Vuido builds desktop apps using Vue.js without E...
by roryisok on Monday May 21, 2018 @01:33PM
(#17120132)
Agreed that's definitely a drawback.
Mozilla had an experimental project called qbrt that was like electron but used the locally installed Firefox, exactly like you're describing. Hasn't been updated in quite a while though
Re:Show HN: Vuido builds desktop apps using Vue.js without E...
by WhitneyLand on Saturday May 19, 2018 @04:12PM
(#17109529)
The extra memory usage of electron is a shame.
When you say consider using an “in browser” web app what do you mean by that precisely? Do you mean consider if you can get by using browser based offline/local capabilities and not go outside the sandbox?
See my other comment on rebuilding FF, not sure if you meant anything overlapping.
Re:Show HN: Vuido builds desktop apps using Vue.js without E...
by z3t4 on Sunday May 20, 2018 @06:24AM
(#17112127)
You would have to run non-sandboxed features via a server, which can run on the user machine! Chrome, Firefox, Opera, IE, Edge supports starting the browser in "chrome"-less or "app" mode, so the program will feel native. You could also run the server part in the cloud! And use "add to desktop" to get the "chrome"-less mode which is currently supported on Chrome and Firefox on Android. Or just run the app in a browser tab :)