eternal
hof
eternal | hof | |
---|---|---|
1 | 1 | |
189 | 505 | |
0.0% | 0.4% | |
10.0 | 0.0 | |
over 1 year ago | 20 days ago | |
C++ | C++ | |
ISC License | GNU General Public License v3.0 or later |
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.
eternal
-
Long switch statements. Is there a better way?
Unfortunately std::map is not constexpr. There are open source alternatives though (not affiliated with the author in any way).
hof
-
Function composition in modern C++
a prime example of how modern c++ simplified things: “Compose” in hof spans hundreds of lines of code (and needs inclusion of library headers and utilities) https://github.com/boostorg/hof/blob/develop/include/boost/hof/compose.hpp . Just a reminder of what we had to go through very recently to do something that’s now doable in ~15 lines of vanilla C++ . Mad respect for Paul Fultz.
What are some alternatives?
StaticTypeInfo - 🏀 Up your type-game. A small C++ library for compile-time type names and type indices.
cthash - constexpr implementation of SHA-2 and SHA-3 family of hashes
bitset2 - std::bitset with constexpr implementations plus additional features.
winter - A high-performance functional programming language, designed to be embedded in C++ applications
pthash - Fast and compact minimal perfect hash functions in C++.
FTXUI - Features: - Functional style. Inspired by [1] and React - Simple and elegant syntax (in my opinion). - Support for UTF8 and fullwidth chars (→ 测试). - No dependencies. - Cross platform. Linux/mac (main target), Windows (experimental thanks to contributors), - WebAssembly. - Keyboard & mouse navigation. Operating systems: - linux emscripten - linux gcc - linux clang - windows msvc - mac clang
uninttp - A universal type for non-type template parameters for C++20 or later.
modern_cpp_series - Code for my Modern C++ Articles
sshash - A compressed, associative, exact, and weighted dictionary for k-mers.
pfr - std::tuple like methods for user defined types without any macro or boilerplate code
vswitch - Function-like value switch.
CPlusPlusThings - C++那些事