Hacker News new | past | comments | ask | show | jobs | submit login

Haven't seen a high-profile NW.js application in a little while now. What's the current state of the landscape between it and Electron? Fading, or still a very active project and viable option?



I use it for the GUI of a FLOSS project I maintain and it works very well. It looks to be quite active still.

Granted, my use case is rather idiosyncratic-- I have to support the use of multiple toplevel windows which communicate over a TCP socket with the "business logic" process. With Electron, this would either require an additional socket connection per window, or central node.js socket connection with the business logic which then forwards messages to/from each window using some form of IPC.

With nw.js you get the option of just accessing the window/browser context directly from the node.js context. That made it a lot easier to get the GUI up and running.

I should also say I'm doing the socket connection through node.js, and I've completely disabled the Chromium part of the toolkit from accessing the network. For use cases where the app needs to load web content over the network, Chromium makes all kinds of requests to Google for all kinds of reasons. That's kind of a weird thing for a general purpose GUI toolkit to do. I'd imagine the same is true for Electron.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: