3 ms·
Download is not the problem, the 10s start-up time is, as is those 100 MB RAM usage, even worse if you hit swap. Why use JS when you can have Lua for scripting
by AstralStorm 10y ago
Download is not the problem, the 10s start-up time is, as is those 100 MB RAM usage, even worse if you hit swap.
Why use JS when you can have Lua for scripting and a less annoying programming language for main code? Why use HTML and CSS when you can have a dynamic portable native UI as in Qt?
I smell laziness and cutting costs in those decisions, or rather offloading the costs onto users.
- Prefinem 10y ago>Why use JS when you can have Lua for scripting Have you tried NPM? If I want to write every single line of code for my application, I don't expect it to ship (unless it's extremely simple). When there is a library for almost everything, why not use one instead of trying to reinvent the wheel?
- flukus 10y agoHave you used anything other than javascript? NPM is not unique, half the stuff it contains is also in the standard runtime of other frameworks.
- codefined 10y agoI would thoroughly disagree with you that there is any other repository of libraries nearly the size of NPM. Take a look at ModuleCounts[0] and you'll see that NPM is growing 4x faster than the next sized repository (Maven) with already over double the number of modules. [0] http://www.modulecounts.com/ http://www.modulecounts.com/
- flukus 10y agoModule counts aren't relevant. A good chunk of them are micro libraries (left pad) that are already covered by anything with a standard lib, half of them are abandoned crapware. I'll take 1 good library over 10 similar shitty ones any day. We also had libraries long before every language needed it's own package manager.
- Prefinem 10y agoPHP, Python, ColdFusion. ColdFusion didn't have a package manager until a couple of years ago and it was so bad, I built one for it. PHP Composer is just okay. Python's is a disaster.
- flukus 10y agoYou've got a knack for going with the worst programming languages available (python aside) don't you?
- Prefinem 10y agoEh, when you know nothing and you start programming, you start with what you can find, understand and use. I have written Java, C and C++ when I was younger but I enjoy scripting languages more and they have provided for me well enough. But, let's be honest here, "worst" is your bias for the languages which doesn't actually say anything other than your opinion.