tuplet
A fast, simple tuple implementation that implements tuple as an aggregate (by codeinred)
noam
By codeinred
tuplet | noam | |
---|---|---|
8 | 1 | |
175 | 7 | |
- | - | |
5.6 | 0.0 | |
10 months ago | over 2 years ago | |
C++ | C++ | |
Boost Software License 1.0 | - |
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.
tuplet
Posts with mentions or reviews of tuplet.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-22.
-
mz::type_list v1.0.0 - an alternative to std::tuple in metaprogramming contexts
To be compared too with tuplet
-
An implementation of `std::tuple` based on variadic lambda capture
If you are looking for a more serious Tuple then check out https://github.com/codeinred/tuplet, which is an aggregate compatible implementation.
-
When C++23 is released... (ABI poll)
Don't forget to fix std::tuple which should be an aggregate type, and maybe deprecate std::pair while at it.
-
Why do we need networking, executors, linear algebra, etc in the Standard Library?
The many surprising flaws of std::tuple (this thread makes good reading, as well as a section on this github)
-
A single factor that controls clang's optimization of tuple_cat
I decided to post the discussion just because I thought y'all would find it interesting. You can also read about the process of developing an efficient recursion-free implementation of tuple_cat here: https://github.com/codeinred/tuplet/issues/10
-
tuplet: A Lightweight Tuple Library for Modern C++
It was based on this suggestion: https://github.com/codeinred/tuplet/issues/1
noam
Posts with mentions or reviews of noam.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-28.
-
tuplet: A Lightweight Tuple Library for Modern C++
Tuple-like classes are common in other libraries that warrant some degree of template metaprogramming, and while std::tuple is fine for prototyping the library, the degree to which it slows down compile times and the poor performance characteristics tend to lead people to either try rolling their own implementation, or doing something funky with lambdas. I have another library that's still in progress that I'm working on that's a lot more extensive, and it uses tuplet because of it's nice characteristics. Here's some code where it gets used: https://github.com/codeinred/noam/blob/main/include/noam/util/combinator_types.hpp
What are some alternatives?
When comparing tuplet and noam you can also consider the following projects:
Boost.Beast - HTTP and WebSocket built on Boost.Asio in C++11
tuple - Compile-time-efficient proof-of-concept implementation for std::tuple
MicroPython - MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems
libunifex - Unified Executors
lambda-tuple - An implementation of `std::tuple` based on variadic lambda capture
type_list - A compiler-friendly variadic type list for C++.