modern-cpp-features VS abseil-cpp

Compare modern-cpp-features vs abseil-cpp and see what are their differences.

modern-cpp-features

A cheatsheet of modern C++ language and library features. (by AnthonyCalandra)

abseil-cpp

Abseil Common Libraries (C++) (by abseil)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
modern-cpp-features abseil-cpp
47 54
18,894 13,989
- 1.6%
3.9 9.5
6 months ago 4 days ago
Python C++
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

modern-cpp-features

Posts with mentions or reviews of modern-cpp-features. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-11.
  • Ask HN: Catching Up on C++?
    1 project | news.ycombinator.com | 20 Feb 2024
    Just go through this https://github.com/AnthonyCalandra/modern-cpp-features and you should be fine.

    If you also like thorough explanations and graphs, there's https://hackingcpp.com/ that could answer many questions you might have.

    By the way, just in case, bookmark this online C++ reference https://eel.is/c++draft/ for diving in deep waters.

    Good luck!

  • C++23: The Next C++ Standard
    8 projects | news.ycombinator.com | 11 Jul 2023
    I'm a little 10 years out from writing C++ professionally and I found this cheat sheet[0] useful. Basically if you have an inkling of the concept you're looking for, just search on that cheat sheet to find the relevant new C++ thing. Specifically for me, we used Boost for smart pointers which are now part of the stdlib, and threads are now part of the stdlib as well.

    [0] https://github.com/AnthonyCalandra/modern-cpp-features

  • E-Book Kindle sau PDF (engleză) despre C++
    1 project | /r/programare | 8 Jul 2023
  • What proportion of C++ used more often than others?
    2 projects | /r/cpp | 20 May 2023
    A more productive way to go about it would be to ask "What are the features in each version of C++ past C++11 that I should care about the most?" instead. In that case you could take a look at things like https://github.com/AnthonyCalandra/modern-cpp-features and https://github.com/mortennobel/cpp-cheatsheet, see what appeals to you, ignore what does not.
  • What's the best book to learn C++?
    1 project | /r/cpp_questions | 16 May 2023
    Looks like there's a version history here
  • Extended C++ education for advanced/seasoned developers
    1 project | /r/cpp | 8 May 2023
    As someone suggested cppcon and c++ talks, also I would reccomend reading this: https://github.com/AnthonyCalandra/modern-cpp-features and all things in the papers section in this: https://en.cppreference.com/w/cpp/compiler_support
  • Brushing up
    1 project | /r/cpp_questions | 28 Apr 2023
  • What are some good books to learn more about the C++ ecosystem?
    1 project | /r/cpp_questions | 12 Apr 2023
    I've already done a bit of research which has led me to the The Definitive C++ Book Guide & List. From that, I've decided to go over The C++ Programming Language (4th Edition) to learn C++11 and then this GitHub repo to learn the remaining C++14/17/20 features.
  • Ask HN: Is C++ making a comeback? “modern C++” versus Golang/Rust/Zig/Nim?
    2 projects | news.ycombinator.com | 19 Feb 2023
    clickable:

    "Welcome back to C++ - Modern C++" https://learn.microsoft.com/en-us/cpp/cpp/welcome-back-to-cp...

    "21 New Features of Modern C++ to Use in Your Project" http://www.vishalchovatiya.com/21-new-features-of-modern-cpp...

    "What is modern C++"? https://www.reddit.com/r/cpp_questions/comments/tgs6ir/what_...

    "C++ is the next C++" https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p26...

    "modern c++ features" https://github.com/AnthonyCalandra/modern-cpp-features

    C++ 23 to introduce module support "https://www.infoworld.com/article/3662808/c-plus-plus-23-to-..."

    "C++ 2023" https://en.wikipedia.org/wiki/C%2B%2B23

  • Functie ca valoare intr-un map
    1 project | /r/programare | 12 Feb 2023

abseil-cpp

Posts with mentions or reviews of abseil-cpp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-27.
  • Sane C++ Libraries
    7 projects | news.ycombinator.com | 27 Jan 2024
  • Open source collection of Google's C++ libraries
    1 project | news.ycombinator.com | 5 Jan 2024
  • Is Ada safer than Rust?
    2 projects | news.ycombinator.com | 2 Dec 2023
  • Appending to an std:string character-by-character: how does the capacity grow?
    2 projects | news.ycombinator.com | 26 Oct 2023
    Yeah, it's nice! And Abseil does it, IFF you use LLVM libc++.

    https://github.com/abseil/abseil-cpp/blob/master/absl/string...

    The standard adopted it as resize_and_overwrite. Which I think is a little clunky.

  • Shaving 40% Off Google’s B-Tree Implementation with Go Generics
    3 projects | news.ycombinator.com | 19 Sep 2023
    This may be confusing to those familiar with Google's libraries. The baseline is the Go BTree, which I personally never heard of until just now, not the C++ absl::btree_set. The benchmarks aren't directly comparable, but the C++ version also comes with good microbenchmark coverage.

    https://github.com/google/btree

    https://github.com/abseil/abseil-cpp/blob/master/absl/contai...

  • Faster Sorting Beyond DeepMind’s AlphaDev
    1 project | news.ycombinator.com | 19 Sep 2023
  • “Once” one-time concurrent initialization with an integer
    2 projects | news.ycombinator.com | 1 Aug 2023
    An implementation of call_once that accommodates callbacks that throw: https://github.com/abseil/abseil-cpp/blob/master/absl/base/c...
  • [R] AlphaDev discovers faster sorting algorithms
    2 projects | /r/MachineLearning | 7 Jun 2023
    I wouldn't say it's that cryptic. It's just a few bitwise rotations/shifts/xor operations.
  • Deepmind Alphadev: Faster sorting algorithms discovered using deep RL
    3 projects | news.ycombinator.com | 7 Jun 2023
    You can see hashing optimizations as well https://www.deepmind.com/blog/alphadev-discovers-faster-sort..., https://github.com/abseil/abseil-cpp/commit/74eee2aff683cc7d...

    I was one of the members who reviewed expertly what has been done both in sorting and hashing. Overall it's more about assembly, finding missed compiler optimizations and balancing between correctness and distribution (in hashing in particular).

    It was not revolutionary in a sense it hasn't found completely new approaches but converged to something incomprehensible for humans but relatively good for performance which proves the point that optimal programs are very inhuman.

    Note that for instructions in sorting, removing them does not always lead to better performance, for example, instructions can run in parallel and the effect can be less profound. Benchmarks can lie and compiler could do something differently when recompiling the sort3 function which was changed. There was some evidence that the effect can come from the other side.

    For hashing it was even funnier, very small strings up to 64 bit already used 3 instructions like add some constant -> multiply 64x64 -> xor upper/lower. For bigger ones the question becomes more complicated, that's why 9-16 was a better spot and it simplified from 2 multiplications to just one and a rotation. Distribution on real workloads was good, it almost passed smhasher and we decided it was good enough to try out in prod. We did not rollback as you can see from abseil :)

    But even given all that, it was fascinating to watch how this system was searching and was able to find particular programs can be further simplified. Kudos to everyone involved, it's a great incremental change that can bring more results in the future.

  • Backward compatible implementations of newer standards constructs?
    5 projects | /r/cpp_questions | 24 May 2023
    Check out https://abseil.io. It offers absl::optional, which is a backport of std::optional.

What are some alternatives?

When comparing modern-cpp-features and abseil-cpp you can also consider the following projects:

vim-cpp-modern - Extended Vim syntax highlighting for C and C++ (C++11/14/17/20/23)

Folly - An open-source C++ library developed and used at Facebook.

serenity - The Serenity Operating System 🐞

Boost - Super-project for modularized Boost

cppfront - A personal experimental C++ Syntax 2 -> Syntax 1 compiler

spdlog - Fast C++ logging library.

functools - Functional tools in Go 1.18 using newly introduced generics

Qt - Qt Base (Core, Gui, Widgets, Network, ...)

cpp20_in_TTs - C++20 features described in Before/After tables ("Tony Tables")

EASTL - Obsolete repo, please go to: https://github.com/electronicarts/EASTL

OOP-in-C - Simple and efficient implementation of OOP in C suitable for real-time embedded systems.

BDE - Basic Development Environment - a set of foundational C++ libraries used at Bloomberg.