r/node • u/moustachedelait • Aug 22 '19
Announcing NodeGUI and React NodeGUI - Build native desktop apps with Javascript and CSS
https://blog.atulr.com/nodegui-intro/17
13
u/nedex91 Aug 23 '19
Qt seems to need a commercial license
9
u/tristan957 Aug 23 '19
It's dual license. You can use it for free for open source software.
7
u/nedex91 Aug 23 '19
Sure but their license is not mentioned at all... I don't know if it is a common practice
7
u/tzaeru Aug 23 '19
You can use it for free for anything. If you make changes to it, you must publish those changes. LGPL style.
3
u/tristan957 Aug 23 '19
Thank you for the correction. I thought you needed a license for commercial development?
3
u/tzaeru Aug 23 '19
Nope! See e.g. here: "Rights & Obligations - An obligation to share changes to Qt source code"
6
u/SwellJoe Aug 23 '19
No, it's mostly LGPL, which allows binding without "infecting" your application.
4
4
49
u/Rockytriton Aug 22 '19
Just what I always wanted, a simple calculator app that takes up 10GB of disk space
21
Aug 23 '19
Oh look, another dinosaur native dev who refuses to recognize the glories of JavaScript.
3
u/Rockytriton Aug 23 '19
ha yeah, I am a dinosaur, but I do a lot of node coding, mainly with typescript though.
1
Aug 24 '19
oh look another node + react fresh dev who thinks they are a programmer and is scared to touch any other programming language. :)))
2
0
Aug 22 '19
[deleted]
-32
u/Rockytriton Aug 22 '19
it is sarcasm, but if this is really a node application, it's likely to have gigs of node_modules dependencies.
13
u/Railorsi Aug 23 '19
Not sure if sarcasm, but you definitely not looking at gigabytes for simple applications (and even complex apps rarely come near a gig).
-12
u/Rockytriton Aug 23 '19
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.
8
u/IHeartMustard Aug 23 '19
It's an alternative to electron apps, not just an alternative to some native toolkit necessarily.
It's also not a novel idea to use nodejs, just an attempt to have a more efficient implementation of them.
2
Aug 23 '19
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.
31
u/pm_me_ur_happy_traiI Aug 23 '19
Haha JavaScript bad.
-13
Aug 23 '19
go suck your own dick you fucking gatekeeper.
Person is making a legit point (node_modules can bloat like crazy) and you lot are just down voting. Dumbfuckwits.
12
u/pm_me_ur_happy_traiI Aug 23 '19
Op: gatekeeps programming languages
Me: points it out
You: gatekeeper!
-1
u/tangled_up_in_blue Aug 23 '19
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
3
3
u/I_know_HTML Aug 23 '19
why would you ever ship a project with all of the files in node_modules? you guys are the idiots here. you never do thst lol
0
Aug 24 '19 edited Aug 24 '19
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?
You sound like someone who would write this blog post https://flaviocopes.com/node-modules-size/ "It's a choice, right?".
7
2
u/gketuma Aug 23 '19
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.
1
1
u/I_know_HTML Aug 24 '19
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.
-1
3
u/FullSlack Aug 23 '19
Considering we can't even get basic working modules for React Native (WiFi/BLEis a joke) I won't hold my breath on this.
Flutter seemed promising but lacked valuable community contributions as well.
8
2
2
1
0
18
u/gajus0 Aug 22 '19
This is insanely good.