strong_type
libcds
strong_type | libcds | |
---|---|---|
5 | 1 | |
373 | 2,475 | |
- | - | |
7.0 | 0.0 | |
about 2 months ago | 7 months ago | |
C++ | C++ | |
Boost Software License 1.0 | Boost Software License 1.0 |
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.
strong_type
-
How do you not shoot yourself in the foot ?
My general philosophy has long been to let the compiler do as much of the mundane work as possible. To that end, I do as much as I can to help it. Copious use of RAII and in general using specific types, including 'strong' types, so that I can describe logical relationships in a way that the compiler can understand and act on. Having a clear understanding of resource ownership is also important. Also using sanitizers, and liberal use of assert(), but only in debug builds, otherwise there's a tendency to avoid using it due to the extra overhead.
- An additive strong typedef library for C++14/17/20
- WG21, aka C++ Standard Committee, February 2022 Mailing
- Retiring boost from my codebase
-
Very stupid question: Declaring a nominal int type.
The solution I was looking for is strong typing. Here's an amazing lib for that
libcds
-
Retiring boost from my codebase
I'm also looking for replacement for concurrent containers: I have used TBB, it's good, though I would like to use the containers only. I have seen some alternatives like https://github.com/khizmax/libcds but didn't have an opportunity to try it yet.
What are some alternatives?
range-v3 - Range library for C++14/17/20, basis for C++20's std::ranges
moodycamel - A fast multi-producer, multi-consumer lock-free concurrent queue for C++11
abseil-cpp - Abseil Common Libraries (C++)
ck - Concurrency primitives, safe memory reclamation mechanisms and non-blocking (including lock-free) data structures designed to aid in the research, design and implementation of high performance concurrent systems developed in C99+.
cpp-base64 - base64 encoding and decoding with c++
RaftLib - The RaftLib C++ library, streaming/dataflow concurrency via C++ iostream-like operators
filesystem - An implementation of C++17 std::filesystem for C++11 /C++14/C++17/C++20 on Windows, macOS, Linux and FreeBSD.
junction - Concurrent data structures in C++
quantity
HPX - The C++ Standard Library for Parallelism and Concurrency
cereal - A C++11 library for serialization
Thrust - [ARCHIVED] The C++ parallel algorithms library. See https://github.com/NVIDIA/cccl