C++ Boost

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

Top 23 C++ Boost Projects

  • Boost.Beast

    HTTP and WebSocket built on Boost.Asio in C++11

    Project mention: boost.beast | reddit.com/r/cpp | 2022-04-17

    We used beast to implement a market data server(and I think we also did a small client, to test it) which was sending protobuf messages, and it worked great(we also used boost adio, which made it very scalable). When we tested the server, we were generating around 100k messages per second(when there was the biggest activity on the market), I think I've posted here some stats: https://github.com/boostorg/beast/issues/2313.

  • hana

    Your standard library for metaprogramming

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

  • Boost.Compute

    A C++ GPU Computing Library for OpenCL

  • soci

    Official repository of the SOCI - The C++ Database Access Library

    Project mention: c++ project | reddit.com/r/Database | 2022-05-03

    As regards to database access – if you don't have a framework that provides a database access layer, you'll need to select a database library. All databases have client libraries with C language bindings which can also be used from C++; many have native C++ bindings as well. Another choice would be to select a C++ library that supports multiple databases, such as SOCI.

  • pfr

    std::tuple like methods for user defined types without any macro or boilerplate code

    Project mention: Minimum viable declarative GUI in C++ | reddit.com/r/cpp | 2022-03-23

    The code is relatively short and can be groked with a few coffees: https://github.com/boostorg/pfr/tree/develop/include/boost/pfr ; if you're using C++17 it uses a binary search (https://github.com/boostorg/pfr/blob/develop/include/boost/pfr/detail/fields_count.hpp) to count the number of fields in a struct, by starting by the observation that a likely majorant on the number of fields in a struct is sizeof(the struct) * CHAR_BIT, assuming not too many [[no_unique_address]] tomfooleries. Then once this count is known it's possible to simply map them as a tuple through sheer brute force and destructuring: https://github.com/boostorg/pfr/blob/develop/include/boost/pfr/detail/core17_generated.hpp

  • Experimental Boost.DI

    DI: C++14 Dependency Injection Library

    Project mention: Architecture of a Qt application | reddit.com/r/cpp_questions | 2022-05-05

    Things like Dependency Injection/Inversion are a little more cumbersome in C++ but certainly can be done, and I believe there's libraries for that as well (found a couple searching around, like fruit and boost-ext di ).

  • ut

    UT: C++20 μ(micro)/Unit Testing Framework

    Project mention: Getting started with Boost in 2022 | reddit.com/r/cpp | 2022-04-14

    https://github.com/boost-ext/ut from Kris Jusiak is worth checking

  • SonarLint

    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.

  • sml

    SML: C++14 State Machine Library

    Project mention: Modern C++ in embedded development | reddit.com/r/embedded | 2022-04-05

    Another thing to mention is libraries. IMO the library ecosystem for C++ is much more active than C, and you have TONS of really amazing ones once you start using modern C++. Great ones for embedded are fmt, boost.sml, but there are tons of others.

  • outcome

    Provides very lightweight outcome<T> and result<T> (non-Boost edition)

    Project mention: Outcome enters sustaining phase, goes ABI stable | reddit.com/r/cpp | 2022-01-10

    A "Sample Usage" appears on the front page of the docs: https://ned14.github.io/outcome/

  • innoextract

    A tool to unpack installers created by Inno Setup

    Project mention: Modding MorrowWind when playing via Steam | reddit.com/r/linux_gaming | 2022-02-19

    For instances where you have a self extracting exe installer (like if you buy games from GoG) you can use innoextract to extract the contents on a Linux OS withing needing to use WINE to actually perform an installation, like if you only need the art assets like if you are using OpenMW to play Morrowind or Arx Libertatis to play Ark Fatalis.

  • s25client

    Return To The Roots (Settlers II(R) Clone)

  • spirit

    Boost.org spirit module

    Project mention: Boost v1.78.0 | reddit.com/r/cpp | 2021-12-07

    Sadly, this still includes the to me [rather critical bug in Boost Spirit](https://github.com/boostorg/spirit/issues/688). I was hoping that a patch would come through before release.

  • stacktrace

    C++ library for storing and printing backtraces. (by boostorg)

    Project mention: 60x speed-up of Linux “perf” | news.ycombinator.com | 2021-09-09

    I do know Boost.Stacktrace calls addr2line too. From the code(https://github.com/boostorg/stacktrace/blob/develop/include/...), it seems Boost.Stacktrace also shells out to addr2line for every address. But in practice, I found the overhead of boost::stacktrace::stacktrace() is not as horrendous as my crappy implementation, which calls addr2line, too.

  • json

    A C++11 or library for parsing and serializing JSON to and from a DOM container in memory. (by boostorg)

    Project mention: Google Protobuf vs JSON vs [insert candidate here] | reddit.com/r/cpp | 2021-08-31
  • construct

    This is The Construct (by matrix-construct)

    Project mention: PinePhone Pro Announced | news.ycombinator.com | 2021-10-15

    If that's the bar, then mobile Linux is simultaneously very fucking far, and dramatically closer than most people might think.

    As far as messaging apps, they're all technically there - the best kind of there for the crowd that this would interest. Spinning up a Matrix server means maybe a days work for this crowd, which allows (and I currently use it for) Whatsapp, Signal, Telegram, and more. Even better, due to constant improvements by Matrix, the server is only getting lighter and your options more varied with things like Construct [0].

    Email is there - one only really needs to ensure geary is set to scale to the phone screen. As far as gMail, I'd question what the overlap is between "Privacy conscious enough to use a Pinephone" and "Uses gMail instead of anything IMAP".

    That only leaves navigation and social media. For the former, I've used the mobile site in-browser on my Android phone that the Google Maps app was too heavy for. And for both on the Pinephone, especially the pro, Waydroid [1] is getting closer to closing the gap.

    To be honest, I could see it being mainstream for geeks within two years. Though that's unlikely what you meant by mainstream - which I think we can agree is several more years away, if ever.

    [0] https://github.com/matrix-construct/construct

    [1] https://github.com/waydroid/waydroid

  • trade-frame

    C++ 17 based library (with sample applications) for testing equities, futures, etfs & options based automated trading ideas using DTN IQFeed real time data feed and Interactive Brokers (IB TWS API) for trade execution. [I have a private repository which has more recent changes, which get back-ported randomly][irc: #tradeframe on OFTC]

    Project mention: Option algotrading | reddit.com/r/algotrading | 2022-05-19

    What are you using for c++ app? Is there something we could mix together with https://github.com/rburkholder/trade-frame? I have a greeks calculator in there.

  • rotor

    Event loop friendly C++ actor micro-framework, supervisable

    Project mention: rotor, Erlang-inpired C++ microframework with supervising capabilities | reddit.com/r/erlang | 2022-02-20

    I would like to present my project rotor, which is event loop friendly C++ actor micro framework with Erlang-like microframework with supervising capabilities.

  • legoino

    Arduino Library for controlling Powered UP and Boost controllers

    Project mention: Custom bluetooth receiver? | reddit.com/r/LEGOtrains | 2022-02-14


  • httpp

    Micro http server and client written in C++

  • Boost.GIL

    Boost.GIL - Generic Image Library | Requires C++11 since Boost 1.68

  • bredis

    Boost::ASIO low-level redis client (connector)

  • Boost.Test

    The reference C++ unit testing framework (TDD, xUnit, C++03/11/14/17) (by boostorg)

  • url

    Boost.URL is a library for manipulating Uniform Resource Identifiers (URIs) and Locators (URLs). (by CPPAlliance)

    Project mention: I am trying to include Boost URL lib to my project | reddit.com/r/cmake | 2022-05-05

    Finally, I got it. [Boost.URL](https://github.com/CPPAlliance/url) is not yet part of the official Boost release. It's a separate library, that's why your project fails to compile.

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-05-19.

C++ Boost related posts


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

Project Stars
1 Boost.Beast 3,385
2 hana 1,376
3 Boost.Compute 1,288
4 soci 1,109
5 pfr 1,022
6 Experimental Boost.DI 902
7 ut 849
8 sml 750
9 outcome 537
10 innoextract 534
11 s25client 368
12 spirit 309
13 stacktrace 305
14 json 292
15 construct 255
16 trade-frame 253
17 rotor 211
18 legoino 160
19 httpp 153
20 Boost.GIL 143
21 bredis 142
22 Boost.Test 126
23 url 88
Find remote jobs at our new job board 99remotejobs.com. There are 7 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