SG14
A library for Study Group 14 of Working Group 21 (C++) (by WG21-SG14)
binutils-gdb
Unofficial mirror of sourceware binutils-gdb repository. Updated daily. (by bminor)
SG14 | binutils-gdb | |
---|---|---|
7 | 6 | |
489 | 515 | |
1.6% | 3.5% | |
1.8 | 10.0 | |
about 2 years ago | 6 days ago | |
C++ | C | |
- | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
SG14
Posts with mentions or reviews of SG14.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-31.
- Callbacks in embedded | heapless environment
-
How to create callback function for publishing hardware events in C++?
There was a proposal for an `inplace_function` that uses static memory. There was a full implementation made. It's not the best solution for this problem though
-
C++20 compile-time functional operators that work on function pointers
There was a proposal for such functionality but I don't know what happened to it. It seems abandoned. There is full implementation in the same repo.
-
`std::function`overhead and alternatives
The only faster alternative that doesn't lose much flexibility would be to roll your own custom version of std::function that has a medium sized std::aligned_storage_t (or just an std::max_align_t aligned array of std::byte or unsigned char) buffer instead of using a dynamic allocation to hold its functor data. (Or use an implementation of the proposed inplace_function such as https://github.com/WG21-SG14/SG14/blob/master/SG14/inplace_function.h )
-
Can anyone point me to a good resource for SG11/14?
There's a repository for SG14 on GitHub here: https://github.com/WG21-SG14/SG14
-
Use UB optimisation with std::function if you know it's bound, and with std::any if you know what type is held
The SG14 inplace_function takes a similar approach to what you suggest. The only minor downside there is that the way it's implemented makes the type unsafe to use across dll boundaries, due to possible mismatching addresses of the default binding. I guess that's not really a consideration for the C++ standard though, and anyway since std::function can allocate then it's inherently unsafe in that scenario anyway.
-
Fixed math header only library with MIT licence
He was trying to standardize his implementation, but I (sadly) don't know what's happened to it since then: https://github.com/WG21-SG14/SG14/blob/master/Docs/Proposals/Fixed_Point_Library_Proposal.md
binutils-gdb
Posts with mentions or reviews of binutils-gdb.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-18.
- Python cruising on back of c++
-
Callbacks in embedded | heapless environment
function_view from binutils-gdb + it has good explanation and examples function_red by Su Brand - nice drop-in option
-
GNU GDB 13.1 released
A bit semi-off topic, but does anyone know why, if when I checkout the source to binutils via git, I also get gdb included? (At the least on something like https://github.com/bminor/binutils-gdb)
-
Should I abandon my monorepo?
Look on binutils+gdb or clang+llvm repos.
-
.C as a file extension for C++ is not portable
I think it meant uppercase .C instead of lowercase .c as a C++ extension. Indeed it's pretty rare.
That being said, there are indeed projects using lowercase .c extension for their "C++" file: gdb [1][2]
[1] https://github.com/bminor/binutils-gdb/blob/3e5fac07975a310c...
-
Number Of Arguments In Function
[0] : https://github.com/bminor/binutils-gdb/blob/master/gdb/guile/scm-safe-call.c
What are some alternatives?
When comparing SG14 and binutils-gdb you can also consider the following projects:
compile-time-init-build - C++ library for composing modular firmware at compile-time.