Sane C++ Libraries

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
  1. SaneCppLibraries

    Platform Abstraction C++ Libraries

    That's why I am currently against its use, unless there is a very special case.

    Regarding UniquePtr I used to have one but I later on decided to remove it.

    https://github.com/Pagghiu/SaneCppLibraries/commit/9149e28

    However, that being said the library is lean enough so that you can still use it with smart pointers provided by any other library (including the standard one) if that's your preference.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. json_test_data

    Test data for nlohmann/json

    https://github.com/nlohmann/json

    I used this for JSON last time I wrote any C++ a few years ago and it still seems popular. It seemed sane enough to me.

  4. abseil-cpp

    Abseil Common Libraries (C++)

  5. serenity

    The Serenity Operating System 🐞

    https://github.com/SerenityOS/serenity

    The best way to write proper exception free C++ is not to use the C++ Standard Library.

  6. UnrealEngine

    > you can still use it with smart pointers provided by any other library

    Is the point of having a kitchen-sink library like this not that you dont have to reach for a 3rdparty library for things that you need 'all the time'?

    Certainly, not everyone needs it.

    ...but, not everyone needs threads either. Not everyone needs an http server; and yet, if you have an application framework that provides them, when you do need them, it saves you reaching for yet-another-dependency.

    Was that no the point from the beginning?

    unique_ptr is a fundamental primitive for many, as you see from some other frameworks (1), and implementation is not always either a) trivial, or b) as simple as 'just use std::unique_ptr'.

    This does seem like a very opinionated decision with reasonably unclear justification.

    [1] - eg. https://github.com/EpicGames/UnrealEngine/blob/release/Engin..., https://github.com/electronicarts/EASTL/blob/master/include/...

  7. EA Standard Template Library

    EASTL stands for Electronic Arts Standard Template Library. It is an extensive and robust implementation that has an emphasis on high performance.

    > you can still use it with smart pointers provided by any other library

    Is the point of having a kitchen-sink library like this not that you dont have to reach for a 3rdparty library for things that you need 'all the time'?

    Certainly, not everyone needs it.

    ...but, not everyone needs threads either. Not everyone needs an http server; and yet, if you have an application framework that provides them, when you do need them, it saves you reaching for yet-another-dependency.

    Was that no the point from the beginning?

    unique_ptr is a fundamental primitive for many, as you see from some other frameworks (1), and implementation is not always either a) trivial, or b) as simple as 'just use std::unique_ptr'.

    This does seem like a very opinionated decision with reasonably unclear justification.

    [1] - eg. https://github.com/EpicGames/UnrealEngine/blob/release/Engin..., https://github.com/electronicarts/EASTL/blob/master/include/...

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Electronic Arts Standard Template Library

    1 project | news.ycombinator.com | 18 Apr 2025
  • China Is Rapidly Becoming a Leading Innovator in Advanced Industries

    2 projects | news.ycombinator.com | 16 Sep 2024
  • EA Standard Template Library Design

    1 project | news.ycombinator.com | 5 Aug 2023
  • MutexProtected: A C++ Pattern for Easier Concurrency

    8 projects | news.ycombinator.com | 5 Apr 2023
  • Are there any books or tutorials that teach C-Styled C++?

    1 project | /r/cpp_questions | 26 Feb 2023

Did you know that C++ is
the 7th most popular programming language
based on number of references?