Orthodox C++

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • C++ Format

    A modern formatting library

  • > One thing I was surprised not to see mentioned here is multiple inheritance.

    There's nuance to banning that since implementating multiple interfaces is technically multiple inheritance in C++. So I think I'd agree with you but with an exception for pure-virtual classes.

    > Also, while iostream is a bit of a mess, having it be strongly typed means that it's, in my opinion, well worth using over cstdio.

    Orthodox C++ would ban this but you can have both printf-style with type safety with https://github.com/fmtlib/fmt

    Which inspired C++20's std::format: https://en.cppreference.com/w/cpp/utility/format

    Which is also banned by Orthodox C++

  • function2

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

  • You can write your own std::function, too, nor is it the only STL type that can take a capturing lambda (std::packaged_task for example).

    A capturing lambda is just a class with an operator(). It's complicated to do what std::function does, but fully possible.

    In fact, custom std::function replacements have better lambda support than std::function itself. Such as unique_function in https://github.com/Naios/function2 which can handle non-copyable lambdas.

  • WorkOS

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

    WorkOS logo
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