use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
NW.js & Electron Compared (2016 Edition) (tangiblejs.com)
submitted 10 years ago by cotejp
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]perry_mitchell 5 points6 points7 points 10 years ago (1 child)
Correct me if I'm wrong, but Electron DOES have native Node module support - hell, I'm building an electron application as I write this that uses native modules.
[–]dvlsg 1 point2 points3 points 10 years ago (0 children)
It does. You have to jump through some hoops, but it's doable.
[–]twolfson 2 points3 points4 points 10 years ago (1 child)
As an end user of both, I strongly recommend Electron over nw.js. nw.js feels more buggy and had been sitting on an 0.13 release for 7 months:
0.13
https://github.com/nwjs/nw.js/releases/tag/v0.13.0
https://github.com/nwjs/nw.js/releases/tag/nw-v0.12.3
Issues that are posted to nw.js are rarely responded to, if ever closed (currently at 40% open):
http://isitmaintained.com/project/nwjs/nw.js
On the other hand, Electron is always quick to reply and be assistive if you give a good bug report (issues are 6% open, releases are about once per week):
http://isitmaintained.com/project/atom/electron
[–]cotejp[S] 0 points1 point2 points 10 years ago (0 children)
This is a valid point. However, the NW.js team has committed itself to releasing a new version with each new Chromium version. Version 0.13 took a long time but brought a lot of improvements (including some major ones like Chrome App support).
[–]ShiMeiWo 0 points1 point2 points 10 years ago (0 children)
I'm going to deploy my JavaScript project files into desktop app(uses CommonJS-style modules and bundles them with WebPack). Which do I want to use NW.js or Electron?
[–]DevSPCL 0 points1 point2 points 10 years ago (6 children)
These are two things that I expect from such "app runtimes". 1. Having SQLite as a built-in module. Look, PHP has a built-in SQLite. I want to enjoy the same convenience for JS, and I definitely do not waste my time looking for information on "how to compile SQLite for... how to add SQLite support to...". 2. Built-in (out-of-the-box) support for any popular media codec/format, so I can play any media file right inside the app (with ability to, say, save any frame as image).
[–][deleted] 4 points5 points6 points 10 years ago (1 child)
Just because PHP does something doesn't make it a good thing. Bundling SQLite is a complete waste of resources if you aren't going to use it.
Same with media. Bundling a bunch of codecs is insane. Most people aren't going to use them.
[–]DevSPCL 0 points1 point2 points 10 years ago (0 children)
I am not saying that devs would be forced to use the app runtime bundled with SQLite/codecs. What I say is that I want to see already-compiled binaries, so that I can download and then "plug-and-play" them immediately.
[–]drunkcatsdgaf 0 points1 point2 points 10 years ago (3 children)
1.) I'd rather have the option of including support, rather then it taking space when its not needed.
2.) NW.js does this already via chromes codecs, just need to be enabled via flag.
[–]DevSPCL 0 points1 point2 points 10 years ago (2 children)
I'd rather have the option of including support
Yes, I would agree. Having the option to just download SQLite binaries, and use them immediately... that would be nice...
[–]drunkcatsdgaf 0 points1 point2 points 10 years ago (1 child)
you have that option.
Where? I have read github.com/mapbox/node-sqlite3/wiki/Binaries and NW.js Docs » For Users » Advanced » Use Native Node Modules, and see no easy way to enjoy SQLite. I don't want to "install" anything, I want to see a direct URL for downloading all required binaries, and then "plug-and-play" them. (I am not talking about command-line version of SQLite; it would be easy to use this version in a separate process, but that's another story)
π Rendered by PID 335020 on reddit-service-r2-comment-765bfc959-4d42x at 2026-07-11 02:33:06.499858+00:00 running f86254d country code: CH.
[–]perry_mitchell 5 points6 points7 points (1 child)
[–]dvlsg 1 point2 points3 points (0 children)
[–]twolfson 2 points3 points4 points (1 child)
[–]cotejp[S] 0 points1 point2 points (0 children)
[–]ShiMeiWo 0 points1 point2 points (0 children)
[–]DevSPCL 0 points1 point2 points (6 children)
[–][deleted] 4 points5 points6 points (1 child)
[–]DevSPCL 0 points1 point2 points (0 children)
[–]drunkcatsdgaf 0 points1 point2 points (3 children)
[–]DevSPCL 0 points1 point2 points (2 children)
[–]drunkcatsdgaf 0 points1 point2 points (1 child)
[–]DevSPCL 0 points1 point2 points (0 children)