tiny VS compact_optional

Compare tiny vs compact_optional and see what are their differences.

tiny

low-level library for minimizing the size of your types (by foonathan)

compact_optional

A template for creating optional-like object with no space overhead (by akrzemi1)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
tiny compact_optional
2 1
108 25
- -
10.0 10.0
over 4 years ago over 6 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.

tiny

Posts with mentions or reviews of tiny. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-23.
  • tiny::optional – a C++ optional that does not waste memory
    6 projects | /r/cpp | 23 Oct 2022
    I tried Implementierung this bundling in a library: https://github.com/foonathan/tiny/blob/master/include/foonathan/tiny/padding_traits.hpp You specialize traits that expose the unused bits in your type, then use them as the base storage for various containers.

compact_optional

Posts with mentions or reviews of compact_optional. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-23.

What are some alternatives?

When comparing tiny and compact_optional you can also consider the following projects:

cmake-init - The missing CMake project initializer

libCat - 🐈‍⬛ A runtime for C++26 w/out libC or POSIX. Smaller binaries, only arena allocators, SIMD, stronger type safety than STL, and value-based errors!

tiny-optional - Replacement for std::optional that does not waste memory unnecessarily