C++20 modules support
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 10.7k
- Forks
- 1.9k
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 5
Description
Now that Node.js v23.0.0 is being built with C++20 as base C++ version, are there any plans to improve the node-gyp support for steering the compilation of C++20 modules?
Usually this requires cooperation between the compiler and the build tool due to the way the modules have been designed.
This is already kind of supported in cmake.js alongside ninja, making the parallel between standard cmake and ninja.
So I am kind of wondering what is the path forward regarding native extensions with C++20 modules,
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing node-gyp’s existing build configuration and the C++20 module support available through cmake.js alongside Ninja. Determine the path for native extensions using C++20 modules and define what compiler/build-tool cooperation node-gyp would need; the issue does not name specific files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp, node.js
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100