[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Electron based Apps or Native GUI apps?

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 30
Thread images: 5

File: javascript-electron.jpg (127KB, 800x600px) Image search: [Google]
javascript-electron.jpg
127KB, 800x600px
Thoughts?
>>
depends on the compatibility you want. obviously using web tech is going to be the easiest to run on different OS
>>
Electron is a huge RAM hog... Open up Atom, Slack, Hyper (hey, some people use it) and suddenly all your RAM is gone.
>>
>>57891282
The best option is to use Tcl/Tk or Qt for "native-ish".
>>
>>57891408

> Qt
> Native

Not even close.
>>
>>57891396
I love the way that Atom and Hyper look, along with how easy it is to customize them to your liking.

But holy shit the performance is shit. The programs run slower than comparable programs, they take up more space, and they take up more ram.
>>
>>57892108
How is Qt not native?
>>
>>57894991
It requires Qt library or your executable file will be YUGE just because it includes Qt.

>>57891408
Raw Xlib, my man.
>>
>>57895069
That doesn't make it non native, just fat.
>>
>>57895150
Yep, and that THICCness is just to make a Qt program to work with X Window system or Win32 API.
How come is that called native?
>>
I kind of secretly wish more GUIs get built in electron and accelerated by something like node-ffi. That way, we'd actually get pretty cross-platform applications. I'm tired of cross-plat Java shit looking like Jabref.
>>
>>57895069
>YUGE just because it includes Qt.
aka ~7mb
>>
>>57891282
Remember, whenever you load electron, you load potential security holes, all kinds of codecs, stuff like MIDI interfaces, your own network stack, gigantic memory overhead for layouting and rendering, "security features", sensor functionality... etc....

install gentoo
>>
>>57891282
As a user I hate electron, but as a dev I love it.
>>
File: 1478365264756.jpg (158KB, 720x480px) Image search: [Google]
1478365264756.jpg
158KB, 720x480px
>Using a web browser to run a (((native))) app
>>
Pure cancer
This shit enables incompetent dumb people to program
>>
>>57896915
>but as a dev I love it.
t. web code artisan
>>
>>57891282
>electron
no

Every electron based program I've ever used takes 30 seconds to 2 minutes to start up. And the developers always say "we just released an update that reduces startup times to almost nothing!" as they vigorously rub their nipples
>>
>>57895249
By that logic basically all software is not native. These apps aren't native because they are just websites put in a window to make you think they are not.
>>
>>57891282
Native, electron is a bloated piece of web dev trash.
>>
>>57898773
>And the developers always say "we just released an update that reduces startup times to almost nothing!" as they vigorously rub their nipples
This is the main reason, tbqh.
>>
>>57891282
electron is great for UI since that what html and javascript are meant for

It's a real shame that it includes a whole browser back-end with it instead of just an html parser and a javascript interpreter
>>
File: .png (1MB, 850x1238px) Image search: [Google]
.png
1MB, 850x1238px
>>57899804
>hyper text markup language
>ui
>text
dumb abyssposter
>>
>>57899945
have fun using CSS without html
>>
File: .jpg (98KB, 620x520px) Image search: [Google]
.jpg
98KB, 620x520px
>>57899971
>cascade style sheets
It still tells nothing about UI.

Scripting language is still scripting labguage, it must serve its designated purpose - adding some interactivity upon the existing document. Anything greater than that is heresy.
>>
>using HTML as a GUI toolkit
ayy
>>
File: gottagnu.jpg (555KB, 1080x1920px) Image search: [Google]
gottagnu.jpg
555KB, 1080x1920px
>>57891282
Using the webbrowser as a gui is not a bad idea. But why should i have an extra stripped down chromium when i already have a firefox installed?

Also node is fucking cancer. I cannot pour it into words how much i hate NPM.

Use Golang or python for something like this jesus
>>
>>57899804

JS sucks ass.
We need something like an "open source" Sciter to beat the Electron meme.
>>
depends on what result you want to accomplish, and how fast you are on Electon or any other framework.

so: give me swift/cocoa plz
>>
>>57893828
>But holy shit the performance is shit. The programs run slower than comparable programs, they take up more space, and they take up more ram.

I have 96GB RAM in a dual socket 6-core Xeon machine and Atom still runs like a sack of shit
Thread posts: 30
Thread images: 5


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.