C++ Containers

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

Top 22 C++ Container Projects

  • pybind11

    Seamless operability between C++11 and Python

    Project mention: How do you set up C++ to call python functions? | reddit.com/r/cpp_questions | 2022-01-12

    And how to do this in the best modern way instead of dealing with Pythons native and annoying 30 year old C API: https://github.com/pybind/pybind11

  • falco

    Cloud Native Runtime Security

    Project mention: CVE-2022-0185: Detecting and mitigating Linux Kernel vulnerability causing container escape | reddit.com/r/netsec | 2022-01-21
  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

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

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

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

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

  • sparsehash

    C++ associative containers

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

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

  • etl

    Embedded Template Library

    Project mention: Which C++ concepts you use in embedded world? | reddit.com/r/cpp | 2022-01-16
  • 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

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

  • 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

  • Hashmaps

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

  • semver

    Semantic Versioning for modern C++ (by Neargye)

  • dynamic_bitset

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

  • small

    C++ small containers (by alandefreitas)

    Project mention: Small: inline vectors, sets/maps, utf8 strings, ... | reddit.com/r/cpp_questions | 2021-09-09
  • 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

  • flat_map

    Header only associative linear container.

  • Optional Argument in C++

    Named Optional Arguments in C++17

  • f-code

    a C++ library consisting of basic functionality

  • 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 2022-01-21.

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 10,326
2 falco 4,453
3 service-fabric 2,880
4 libcds 2,024
5 FunctionalPlus 1,564
6 PEGTL 1,465
7 sparsehash 1,284
8 sparsepp 1,099
9 etl 1,060
10 Hopscotch map 516
11 function2 374
12 LSHBOX 262
13 sparsehash-c11 244
14 Hashmaps 226
15 semver 166
16 dynamic_bitset 83
17 small 78
18 sarus 70
19 flat_map 15
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 29 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.
www.sonarlint.org