my point is just that node is great for server applications, but for small GUIs that you intend users on the internet to download, it seems a bit dumb.
Interestingly enough, Adobe actually uses Node in their CC products for what seems to be a lot of their online stuff (stock, fonts, cloud storage, etc.)
For a legit app as small as a calculator, it seems a bit ridiculous.
I would like to note, though, that even electron has gotten much more efficient. Slack did a major overhaul and it runs far better and uses significantly less ram.
I know people will always hate on Node based ports, but the reality is that, it's significantly cheaper for companies small, medium, or even large to hire less people to develop more applications.
I think until someone is able to create React Native-esque for Linux, Windows, and OSX, it's what we have to use. Either way, these libraries have come a long way and it shows. They're viable solutions to have a cross platform app that is consistent across the board.
No, he’s just talking about how the large bloat of node_modules isn’t great for desktop apps. I’m a js dev, and yet I completely agree. If you think node_modules isn’t ridiculously bloated you don’t really use javascript
Please tell me what you do apart from npm prune to delete dev deps? Do you nitty gritty pick apart every sub-sub-sub-sub module or is there some sort of tool that does it? Or are you just talking out of your ass hole?
When you build a node app for production, it doesn't ship with node_modules folder. That is why the ecosystem has bundlers like WebPack, and features like Tree shaking. A simple calculator app like this will have no more than 400kb of JS.
that's only when it's uncompiled for development. usually you compile only the ones you actually need and won't have the bloat. development is bloated but production really isn't.
49
u/Rockytriton Aug 22 '19
Just what I always wanted, a simple calculator app that takes up 10GB of disk space