Why are people so desperate to shoehorn javascript where it shouldn't be...

Why are people so desperate to shoehorn javascript where it shouldn't be? Why do you think it's necessary to fork an ENTIRE GODDAMN WEB BROWSER so you don't need to learn a real language like C or Python?

Other urls found in this thread:

github.com/electron/electron/issues/2003
discuss.atom.io/t/newbie-is-there-any-way-to-shrink-app-size/24146
discuss.atom.io/t/electron-distribution-filesize/19143
twitter.com/SFWRedditVideos

Python is even worse than Javascript and you try writing a cross platform GUI in C.

i don't know electron would be pretty chill if it didn't include 320 niggerbytes of bloat with every app I want to release. javascript/css/html is comfy as fuck to develop apps with

And you don't need to do the same when you use Qt or Gtk either?

What do you mean do the same? The 300mb base? Is that for each app or you just need to install the electron library once then apps will be like under a MB? Last time I used it it seemed like EACH fucking app needed to include the whole damn 300mb to install/download.

My other main gripe is the non seamless UI, which I think can be laggy or not perfectly integrated, or a different theme then the rest of the users apps.

Coz fast development time and fast live feedback make JS great for getting something done in under 6 months, like you would with C, C++ or Python. Maybe Python would also make it fast to develop but not that great for program UIs as JS.

Slack is built on electron and only 26MB. Nice meme.

Interesting, I thought that it had to include the whole Chromium base which was like 300mb. Am I wrong? Is that 26mb including the Chromium engine and what not? If so I'll be looking into it some more.

They need to make some improvements on the UI but other than that it seems good.

On my job we have a fucking lan chat app with groups made with C# that is only 320kb, whats your excuse?

Because the burden of cross compatibility gets to be on Google's engineers (chromium)

>real language
>python

maximum kek

Nice shitpost. Retard.

I have a modern hard drive and don't rely on floppy disks for storage.

Unfortunately from what I'm reading Slack is one of the smallest Electron apps. Simple Windows/Mac bundled electron apps easily exceed 100MB. That's just ridiculous.

github.com/electron/electron/issues/2003
discuss.atom.io/t/newbie-is-there-any-way-to-shrink-app-size/24146
discuss.atom.io/t/electron-distribution-filesize/19143

GTK and Qt are much different because they're shared libraries. I would consider using electron if they implemented that somehow so the user didn't have to download literally 100Mb of bloat every time.

Asumming you only need basic acess to the underlying machine, it's just easy to wipe up something quickly, specially if you already do webdev. So those megabytes (and shitty language) buy you developer time.

Also, traditional GUI frameworks are lagging behind. Where is my FRP for the desktop?

They dont have javascript animations on them mesagging app... Lets make a Joke about floppy disk

That's because people are retarded and don't know how to properly build and bundle the library. VS Code is also only 30MB.

>retards who are quick to rely on whatever flavor-of-the-month framework is in vogue can't link dependencies right to even use them correctly

Color me surprised

Still so fucking bloated. Best possible case scenario my app is 26mb.

Fucking ffmpeg is only 12 mb, fuck that hipster shit, desktop isn't web for gods sake

And would have taken you much less time to develop, especially if you are targeting multiple platforms.

And how big do you think the WinAPI or Qt is?

And you just have to download and install it ONE fucking time

because they're women / black / millenial hipster programmers

I tried to install Konqueror and it pulled down 400MB of dependencies. I could install 15 Electron programs in the same amount of space.

>install it ONE fucking time
why can't they just do this with electron? I would actually try it if they did

Because people are afraid to learn new things that may possibly entail utterly failing to accomplish even the most seemingly trivial of tasks.

Just like how there is ONE fucking version of DirectX, and ONE fucking version of Visual C++ right?

> Using konqueror
I'm out

I don't use Windows anymore but from what I remember, more or less yeah. Install MSVC++ redistributable and you can use it for multiple games/programs/whatever thereafter. It makes you install a bunch of shit, but only once.

Until they figure something out so you don't have to install 50 different versions of electron for each app then it's hard for me to see much of a benefit over just writing a web application.

I don't know why Electron is a thing. QT/QML is both better in technical term and faster to develop.

It's not. Qt is cancer.

There was a project that tried to implement that but with nw.js, didn't have success

>QT/QML is both better in technical term and faster to develop.
I still think electron fucking sucks ass ATM but there's no way it's faster lol. javascript and html+css is so fucking easy

There are two main reasons. First, designing a GUI inside of a webdev context is orders of magnitude easier and is of much higher quality than ANYTHING you will get inside of an IDE, plain and simple. The second is that it's a lot simpler to build things on JS that accomplish common tasks. Try making a basic app that does a GET on an endpoint in C# or C++. It's a nightmare, right? I can do that in ~4 lines of JS. Common things like this have already been taken care of by open source friendly devs in JS, and the same cannot be said for C# or C++. There is simply no repository outside of stdlib that does things like this for you.

> inb4 hurr durr re-code everything from scratch

No, that's horribly inefficient if someone else has done it better. That is literally the entire point of open-sourcing good software. If you're mad that this lowers the barrier of entry into programming, I'd seriously reconsider why the fuck you're here.

>higher quality than ANYTHING you will get inside of an IDE
what the fuck has the glorified text editor of choice have to do with the quality of the design?

>everything else in that post
fuck off Pajeet

>Try making a basic app that does a GET on an endpoint in C# or C++.
What the fuck are you talking about you fucking webdesigner? It's easy as fuck in C#

No, those libraries are single digit mbs if stripped from their SDKs.

When I was still using Emacs in the early 00s my two biggest grips with it were 1) that id didn't use a web browser engine for rendering 2) it wasn't written in javascript. Electron is the best thing ever, the fact that it triggers blub programmers is just the cherry on top.

You mean 60mb, retard. Compressed.
Loading the npm package alone is hundred n something mb big.

>can't even use prefixes/units properly
>calls other people retards
What's 1/1000th of a bit?

>VS Code is also only 30MB.
Wrong. It's 134 MB. And what matters is that it takes far more RAM than that.

>le numegibyte meme
kys

JS is a blessing with the crazy time constraints software development suffers these days, that's why there's so much something.js

Pushing JS to the desktop was a thing webdevs did to use their "skills" to something new.

I don't mind JS desktop applications tough, a lot of good software is written in JS, or the best JS TypeScript.

>javascript/css/html is comfy as fuck to develop apps with
If you're a webfag.
Everyone with the same knowledge in Webshit and a real Widgetset like Qt will pick the real Widgetset any time.

>konqueror

And how big are the dependencies you retard

>crossplatform gui
Qt would probably dominate a lot more if it had decent bindings for some other languages besides C++ and Python. I would fucking love it if I could use it with Mono.

Qt has a form designer comparable to that of Visual Studio. I'd rather use that than fucking around with css all day.

Qt is dogshit compared to html though. "Real" programmers who still can't into the web might as well kill themselves at this point.

Because C and Python includes everything a web browser layout engine includes. Faggot.