docs
cxx20-modules-examples
docs | cxx20-modules-examples | |
---|---|---|
2 | 5 | |
103 | 56 | |
1.0% | - | |
9.4 | 4.7 | |
6 days ago | 5 months ago | |
HTML | Ruby | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
docs
-
C++ Modules: The Packaging Story
I've been using Conan for years with great success. I think you might have missed the documentation: https://docs.conan.io
-
Looking for projects to contribute to
https://github.com/conan-io/docs/compare/develop...develop2 there's 50k lines of different and the 2.0 docs got a complete rewrite.
cxx20-modules-examples
-
C++ Modules: The Packaging Story
build2 use the module mapper API which was available long before 2021: https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Module-Mapper... You can try the examples here https://github.com/build2/cxx20-modules-examples/ with GCC 13 or 12 to confirm, if you wish.
> given communication APIs for GCC just landed in its main branch a month ago
Can you elaborate on what are these "communication APIs"?
-
New C++ features in GCC 12
It you are looking for news on C++20 modules support, then sadly, there is not much progress since GCC 11. I've re-tested my modules examples[1] a few days ago with the GCC 12 snapshot, and while a few bugs have been fixed, the majority remain unfixed[2].
[1] https://github.com/build2/cxx20-modules-examples
[2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524
-
Experiments with modules
I used a build2 repository containing C++20 Modules hello-world projects setup in different scenario with module partitions, without partitions, libraries or not etc. They all just print hello world but the point is to check and show very basic modules usage.
-
GCC 11.1
If anyone is looking for a build system to try C++20 modules with GCC, there is build2: https://build2.org/blog/build2-cxx20-modules-gcc.xhtml
There is also a repository of module examples (some trying to imitate real-world usage like distributing modules as part of a library): https://github.com/build2/cxx20-modules-examples/
-
When do you think modules will be fully implemented?
Here is a set of examples that exercises major modules features: https://github.com/build2/cxx20-modules-examples
What are some alternatives?
Fields2Cover - Robust and efficient coverage paths for autonomous agricultural vehicles. A modular and extensible Coverage Path Planning library
AStarDemo - A basic A* example ported to C++/WinRT
Mudlet - ⚔️ A cross-platform, open source, and super fast MUD client with scripting in Lua
cxx20-modules-examples - C++20 modules examples
SonyHeadphonesClient - A {Windows, macOS, Linux} client recreating the functionality of the Sony Headphones app
fmt - A modern formatting library
lmms - Cross-platform music production software
owning-ref-rs - A library for creating references that carry their owner with them.
clangd - clangd language server
Bronze
DataFrame - C++ DataFrame for statistical, Financial, and ML analysis -- in modern C++ using native types and contiguous memory storage
test-dll-modules-visualstudio - Shows an example of Visual Studio projects with a dll project exposing a module and an executable using the module from the dll.