C++ Containers

Open-source C++ projects categorized as Containers | Edit details

Top 22 C++ Container Projects

  • GitHub repo pybind11

    Seamless operability between C++11 and Python

    Project mention: Was wondering how many of you work 100% remotely as a C++ programmer if so what's your daily tasks mostly or it's just for webdev ? also if a few of you work in the video game industry how is it compared another fields pay / job security ? (compared to finance, banks, or something else) | reddit.com/r/cpp | 2021-11-27

    Lots of asio on the C++ side, and lots of asyncio on the python side. Also pybind11 is just plain awesome.

  • GitHub repo falco

    Cloud Native Runtime Security

    Project mention: GCP security best practices | dev.to | 2021-11-29

    Luckily, cloud native security tools like Falco and Cloud Custodian can guide you through these Google Cloud Platform security best practices, and help you meet your compliance requirements.

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo 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: Why aren't any infrastructure projects made in C#? Or are there examples? | reddit.com/r/dotnet | 2021-06-25

    Considerable amount of Azure Service Fabric is written in C# https://github.com/microsoft/service-fabric. As many people mentioned already, until .NET Core, no platform developers really cared about C#. Perhaps in future we may see interesting things happen with a lot of performance optimisations coming to C# as well.

  • GitHub repo libcds

    A C++ library of Concurrent Data Structures

    Project mention: Retiring boost from my codebase | reddit.com/r/cpp | 2021-07-29

    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.

  • GitHub repo FunctionalPlus

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

    Project mention: Why C++ for everything? | reddit.com/r/ROS | 2021-04-28

    As idiomatic, I will try to adopt as much as possible purely functional programming in C++ by using https://github.com/Dobiasd/FunctionalPlus . Do you have by any chance any alternative suggestion?

  • GitHub repo PEGTL

    Parsing Expression Grammar Template Library

    Project mention: We Built a C++ Rendering Engine for the Web | news.ycombinator.com | 2021-07-10

    As a professional C++ programmer I feel a lot of the reasons C++ gets this response is because it's simply not "batteries included" like Go or Rust.

    C++ is a very powerful, unopinionated language, that gives you a lot of freedom to attack your problem domain the way you best see fit.

    If you're writing a networked application, don't use POSIX sockets, go and find a higher level library. If you're parsing complex text formats, don't iterate over buffers with char*'s, go pick up PEGTL[0]. If you're working on graphs, or need to properly index in-memory data, go pick up Boost[1][2]. If you need a GUI, go pick up Qt.

    It's extremely common in C++, due to the lack of a universal package management solution, for people to try and "muddle through" and do shit themselves when it's far outside their core competency.

    At one of my last employers, the core product was parsing JSON with std::regex, simply because they couldn't be bothered to integrate a JSON library.

    [0] https://github.com/taocpp/PEGTL

    [1] https://www.boost.org/doc/libs/1_76_0/libs/graph/

    [2] https://www.boost.org/doc/libs/1_76_0/libs/multi_index/doc/i...

  • GitHub repo sparsehash

    C++ associative containers

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo sparsepp

    A fast, memory efficient hash map for C++

    Project mention: Who here is ready to see some 64MB blocks on mainnet? | reddit.com/r/btc | 2021-10-27

    Hey thanks for the mention /u/jtoomim. I see that you used sparsepp in CoinsViewCache. A phmap::flat_hash_map would probably be similar for memory usage, but likely faster (because of parallel lookup with SSE instructions and contiguous memory storage in one array).

  • GitHub repo etl

    Embedded Template Library

    Project mention: Is chance of memory fragmentation high when using std::vector and std::string? | reddit.com/r/embedded | 2021-10-19

    I highly recommend using the embedded template library instead. It replicates the STL but you have to pre-allocate all of the storage for each container.

  • GitHub repo Hopscotch map

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

    Project mention: Any suggestions for resources to optimize for memory allocation/reallocation? | reddit.com/r/cpp | 2021-01-24

    using an open-addressing hash table, such as abseil flat_hash_map or tessil/hopscotch-map

  • GitHub repo function2

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

    Project mention: A simple std::function alternative that never allocates | reddit.com/r/cpp | 2021-10-17

    std::function wasn't cutting it for me, but I ended up going with fu2::function. It comes with a lot of features (almost too many), but the header size and compile times are comparable to , and it fit my needs pretty well.

  • GitHub repo LSHBOX

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

  • GitHub repo sparsehash-c11

    Experimental C++11 version of sparsehash

  • GitHub repo Hashmaps

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

  • GitHub repo semver

    Semantic Versioning for modern C++ (by Neargye)

  • GitHub repo dynamic_bitset

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

  • GitHub repo small

    C++ small containers (by alandefreitas)

    Project mention: Small: inline vectors, sets/maps, utf8 strings, ... | reddit.com/r/cpp_questions | 2021-09-09
  • GitHub repo sarus

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

    Project mention: Scaling Kubernetes to 7,500 Nodes | news.ycombinator.com | 2021-01-25

    The problem with slurm is how it's typically used: ssh into a shared login node with a shared file system, auth is handled by the linux users mostly, submit jobs with sbatch. Kubernetes deployment feels much more modern and safe.

    I have worked with containers + slurm, where the vendor libmpi is injected in the container runtime [1] by a hook, which gives you close to bare metal performance with some container goodness in terms of isolation and deployment.

    [1] https://github.com/eth-cscs/sarus

  • GitHub repo flat_map

    Header only associative linear container.

  • GitHub repo Optional Argument in C++

    Named Optional Arguments in C++17

  • GitHub repo f-code

    a C++ library consisting of basic functionality

  • GitHub repo SocialNetwork

    Design and C++ implementation of a simple social network system

    Project mention: A simple C++ implementation of a social network - no blog :) | reddit.com/r/cpp | 2021-06-23
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 2021-11-29.

C++ Containers related posts


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

Project Stars
1 pybind11 10,110
2 falco 4,289
3 service-fabric 2,872
4 libcds 1,999
5 FunctionalPlus 1,520
6 PEGTL 1,437
7 sparsehash 1,248
8 sparsepp 1,092
9 etl 1,009
10 Hopscotch map 507
11 function2 371
12 LSHBOX 254
13 sparsehash-c11 244
14 Hashmaps 225
15 semver 155
16 dynamic_bitset 82
17 small 76
18 sarus 69
19 flat_map 12
20 Optional Argument in C++ 8
21 f-code 1
22 SocialNetwork 0
Find remote jobs at our new job board 99remotejobs.com. There are 32 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives