There are two different questions here:
1. What to use to build node.js itself?
2. What to use to build native modules?
For now it's GYP for both, later node.js maybe will be built with GN.
I wonder what to do with native modules though. GYP will have to be supported for a looong time anyway, and...
Is it possible/makes sense to use another build system with npm right now without explicit npm support?
09.07.2014, 22:06, "Ingwie Phoenix" <
ingwi...@googlemail.com>:
> GN, Generate Ninja, is a pretty cool project, actually.
>
> I actually always wondered: We have a scripting engine. Why do we rely on Python for GYP, if we have NodeJS? Is there no gyp replacement in node itself? Its something that I just never understood... Since the only people that build from source will very likely have python installed, knowing that they will need GYP.
>
> So I would suggest to switch to GN, or to make your fully own tool to help on that. Its not too hard either. I am working on a build tool myself, that I will very likely extend to be able to build nodejs modules, by querying GYP or a nodejs module, for the location of header files.
>
> Just my 2 cents on that. :3
>
> Oh, also, has anybody ever seen a stand-alone source tree of GN? I have not...
> To view this discussion on the web visit
https://groups.google.com/d/msgid/nodejs/0275E15F-E88A-45FB-8523-6D63C193C9FC%40googlemail.com.