xmake-repo
cxx20-modules-examples
xmake-repo | cxx20-modules-examples | |
---|---|---|
9 | 5 | |
587 | 56 | |
2.7% | - | |
9.9 | 4.7 | |
3 days ago | 5 months ago | |
Lua | Ruby | |
Apache License 2.0 | 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.
xmake-repo
- C++ Modules: The Packaging Story
-
Hacking Anything with GNU Guix
xmake [1] gives you something like this via `xrepo env shell`.
[1] https://xrepo.xmake.io/
- XMake dependency propagation?
-
ManagedC v1.5.0 - now much more stable and thread safe! Plus, better testing, and better GCC support!
This project should also soon be available on xrepo, right now you can copy the headers or use the package in `package.lua` to install.
-
Show HN: A glib-like multi-platform C library
Yes, although the documentation seems bare-bones, the code looks clean.
The xmake package repository files might be useful also for people interested in making their own package manager, or even installing by hand.
Here is the package information for autoconf, for instance:
https://github.com/xmake-io/xmake-repo/blob/master/packages/...
It has download links, checksums for specific versions, and the Lua syntax seems easy to parse.
The package for NanoVG however, does not indicate anywhere that you need the GLEW and GLFW libraries:
https://github.com/xmake-io/xmake-repo/blob/master/packages/...
-
xmake v2.5.3 Released, Support to build Linux bpf program and integrate Conda packages
Therefore, if the official xmake-repo repository already provides the required package, you can use it directly without specifying the package namespace.
-
Anyone working on a package manager for their language?
I written a c/c++ package manager https://xrepo.xmake.io/#/
-
xmake v2.5.2 released, Support pull remote cross toolchain and package integration
Currently, we have included the following toolchain packages in the xmake-repo repository, allowing xmake to pull and integrate remotely:
-
Anyone used xmake?
Here's the github page for xrepo: https://github.com/xmake-io/xmake-repo
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?
Spring RTS game engine - A powerful free cross-platform RTS game engine. - Report issues at https://springrts.com/mantis/
AStarDemo - A basic A* example ported to C++/WinRT
Automagica - AI-powered Smart Robotic Process Automation 🤖
cxx20-modules-examples - C++20 modules examples
Godot - Godot Engine – Multi-platform 2D and 3D game engine
fmt - A modern formatting library
CRYENGINE - CRYENGINE is a powerful real-time game development platform created by Crytek.
owning-ref-rs - A library for creating references that carry their owner with them.
Cocos2d - Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x.
Bronze
KlayGE - KlayGE is a cross-platform open source game engine with plugin-based architecture.
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.