C++ Containers

Open-source C++ projects categorized as Containers

Top 23 C++ Container Projects

  • pybind11

    Seamless operability between C++11 and Python

    Project mention: Experience using crow as web server | /r/cpp | 2023-11-06

    I'm investigating using C++ to build a REST server, and would love to know of people's experiences with Crow-- or whether they would recommend something else as a "medium-level" abstraction C++ web server. As background, I started off experimenting with Python/FastAPI, which is great, but there is too much friction to translate from pybind11-exported C++ objects to the format that FastAPI expects, and, of course, there are inherent performance limitations using Python, which could impact scaling up if the project were to be successful.

  • redpanda

    Redpanda is a streaming data platform for developers. Kafka API compatible. 10x faster. No ZooKeeper. No JVM!

    Project mention: Choosing Between a Streaming Database and a Stream Processing Framework in Python | dev.to | 2024-02-10

    Stream-processing platforms such as Apache Kafka, Apache Pulsar, or Redpanda are specifically engineered to foster event-driven communication in a distributed system and they can be a great choice for developing loosely coupled applications. Stream processing platforms analyze data in motion, offering near-zero latency advantages. For example, consider an alert system for monitoring factory equipment. If a machine's temperature exceeds a certain threshold, a streaming platform can instantly trigger an alert and engineers do timely maintenance.

  • JetBrains Dev Survey

    What’s up with the C++ ecosystem in 2023? JetBrains Developer Ecosystem Survey 2023 has given us many interesting insights. The Embedded (37%) and Games (39%) industries are already working with C++20, developers are incorporating static analysis in their CI, and ChatGPT usage among coders is flourishing. Read on for more!

  • falco

    Cloud Native Runtime Security

    Project mention: Cisco Acquires Splunk | news.ycombinator.com | 2023-09-21

    https://github.com/falcosecurity/falco

    Like snort, but looks at system calls.

  • service-fabric

    Service Fabric is a distributed systems platform for packaging, deploying, and managing stateless and stateful distributed applications and containers at large scale.

    Project mention: Migrating Service Fabric apps to .NET 6 | dev.to | 2023-04-10

    The first on the list is the entry project .sfproj. They use a non-SDK-style project template with a bunch of .xml files for configuration but with no C# code. They require Fabric.MSBuild nuget to build and package Service Fabric apps. Unfortunately, the dotnet add package command won't update dependencies since they only support and non-SDK-style project template uses the package.config file to manage dependencies.

  • libcds

    A C++ library of Concurrent Data Structures

  • FunctionalPlus

    Functional Programming Library for C++. Write concise and readable C++ code.

    Project mention: Leaving Haskell Behind | news.ycombinator.com | 2023-08-24

    Hoogle is really amazing!

    Inspired by it, I implemented something similar for FunctionalPlus (a functional-programming library for C++): https://www.editgym.com/fplus-api-search/

    I'd love to see more projects taking this path too. :)

  • etl

    Embedded Template Library

    Project mention: Modern C++ Programming Course | news.ycombinator.com | 2023-11-28

    If you can't use the STL because of exceptions: https://www.etlcpp.com/

  • 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.

  • PEGTL

    Parsing Expression Grammar Template Library

    Project mention: Show HN: Matcheroni, a tiny C++20 header library for building lexers/parsers | news.ycombinator.com | 2023-07-06

    Very cool, and I like the name!

    I'd be interested in reading about how Matcheroni compares with PEGTL and Lexy.

    https://github.com/taocpp/PEGTL

  • sparsehash

    C++ associative containers

  • sparsepp

    A fast, memory efficient hash map for C++

  • Hopscotch map

    C++ implementation of a fast hash map and hash set using hopscotch hashing

  • function2

    Improved and configurable drop-in replacement to std::function that supports move only types, multiple overloads and more

    Project mention: Callbacks in embedded | heapless environment | /r/cpp | 2023-03-31

    Fixed size function wrappers are not only limited and also a waste of space. Use a configurable function wrapper like fu2 with a stack allocator and set small object optimizer capacity to 0.

  • choc

    A collection of header only classes, permissively licensed, to provide basic useful tasks with the bare-minimum of dependencies.

    Project mention: Delay between MIDI Note Off and Note On message | /r/synthdiy | 2023-05-20

    Btw I am also implementing some midi stuff on the rp2040 and I found a nice library, which is easy to use (header only) and has a lot of classes for common audio / Midi problems and saves you the time to implement all the midi stuff by hand: https://github.com/Tracktion/choc

  • think-cell-library

    think-cell core library

    Project mention: Inside boost::concurrent_flat_map | /r/cpp | 2023-07-07

    We at think-cell use that pattern a lot in our library.

  • LSHBOX

    A c++ toolbox of locality-sensitive hashing (LSH), provides several popular LSH algorithms, also support python and matlab.

  • sparsehash-c11

    Experimental C++11 version of sparsehash

  • semver

    Semantic Versioning for modern C++ (by Neargye)

  • Hashmaps

    Various open addressing hashmap algorithms in C++ (by goossaert)

  • dynamic_bitset

    Simple Useful Libraries: C++17/20 header-only dynamic bitset

  • small

    C++ small containers (by alandefreitas)

  • sarus

    OCI-compatible engine to deploy Linux containers on HPC environments.

  • Stroika

    Modern C++ made easy

  • gtl

    Greg's Template Library of useful classes.

    Project mention: Inside boost::concurrent_flat_map | /r/cpp | 2023-07-07

    gtl library author here. Very nice writeup! Reading it made me think, and I believe I know why gtl::parallel_flat_hash_map performs comparatively worse for high-skew scenarios (just pushed a fix in gtl).

  • WorkOS

    The modern API for authentication & user identity. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-02-10.

C++ Containers related posts

Index

What are some of the best open-source Container projects in C++? This list will help you:

Project Stars
1 pybind11 14,493
2 redpanda 8,488
3 falco 6,695
4 service-fabric 2,996
5 libcds 2,449
6 FunctionalPlus 1,965
7 etl 1,902
8 PEGTL 1,834
9 sparsehash 1,491
10 sparsepp 1,221
11 Hopscotch map 691
12 function2 504
13 choc 388
14 think-cell-library 336
15 LSHBOX 282
16 sparsehash-c11 281
17 semver 278
18 Hashmaps 253
19 dynamic_bitset 139
20 small 119
21 sarus 114
22 Stroika 89
23 gtl 86
ChatGPT with full context of any GitHub repo.
Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at app.getonboardai.com.
app.getonboardai.com