templight
Templight is a Clang-based tool to profile the time and memory consumption of template instantiations and to perform interactive debugging sessions to gain introspection into the template instantiation process. (by mikael-s-persson)
rtags
A c/c++ client/server indexer with for integration with emacs based on clang. (by brucestephens)
templight | rtags | |
---|---|---|
4 | 2 | |
704 | 0 | |
- | - | |
4.0 | 0.0 | |
about 2 months ago | about 9 years ago | |
C++ | C++ | |
GNU General Public License v3.0 or later | 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.
templight
Posts with mentions or reviews of templight.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-10.
-
static_assert is all you need (no leaks, no UB)
IMHO the best approach is to avoid the problem by applying TDD. Then there is very little need to debug anything. But otherwise, there is https://github.com/mikael-s-persson/templight for compile-time debugging which is pretty cool and having something like `expect(auto... args) static_asert(args...); assert(args...);` may help with being able to debug at run-time and get the coverage (though, the code has has to compile aka pass first).
-
[C++20][safety] static_assert is all you need (no leaks, no UB)
For sure. There has been https://github.com/mikael-s-persson/templight and https://github.com/metashell/metashell. The former allowed to basically step into the compilation process (after the fact).
-
[C++26*] Rise of the static reflection(s)
Double not sure whether practical, though, https://github.com/mikael-s-persson/templight approched the problem back in the day
-
Query a compilation database (lsp, ccls, rtags, ...)
Is there a function in lsp-mode, or ccls directly to find the compilation command associated with the file (if any) in the current buffer? If not, would another package (rtags, ede-compdb, irony-cdb) help query the compilation database without needing to use the rest of the package? The main use case is to plug it into other tools such as rmsbolt and templight that "compile" code to provide additional information.
rtags
Posts with mentions or reviews of rtags.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-07-10.
- rtags: A c/c++ client/server indexer with for integration with emacs based on clang
-
Query a compilation database (lsp, ccls, rtags, ...)
I know that (years ago now) rtags was lacking such a command and for some reason I wanted one. That change (untouched since then and I use ccls now, and I don't think I ever proposed it for merging) is still around (and was straightforward): https://github.com/brucestephens/rtags
What are some alternatives?
When comparing templight and rtags you can also consider the following projects:
rmsbolt - pony mode WIP
TDD - See while you code
metashell - C++ metaprogramming shell
examc - proof of concept C unit test library using linker sections
ut - C++20 μ(micro)/Unit Testing Framework
samples