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. Learn more →
Top 23 C++ cpp23 Projects
-
Hyprland
Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
-
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.
-
Project mention: 3rd Edition of Programming: Principles and Practice Using C++ by Stroustrup | news.ycombinator.com | 2024-04-19
-
catch2 has become fairly bloated. doctest takes all of the best parts of catch2 without all the bloat and the end result is a test framework that is literally over 10x faster than catch2. It's also like 90% compatible with catch2 so porting your tests to it is pretty easy.
Especially if you have a build process that always runs your unit tests, it's nice to have a very fast test/compile/debug loop.
https://github.com/doctest/doctest
-
Project mention: C++ Insights – See your source code with the eyes of a compiler | news.ycombinator.com | 2024-04-05
Sorry, I don't know about an Emacs plugin. All the plugins/extensions I'm aware of are listed in the Readme.md: https://github.com/andreasfertig/cppinsights/#c-insights--vi...
I'm happy to add an entry for Emacs once somebody develops a plugin for that editor.
-
Project mention: Python type hints may not be not for me in practice | news.ycombinator.com | 2024-11-27
I suspect C++ still comes the closest to what you’re asking for today, at least among mainstream programming languages.
Matrix dimensions are certainly doable, for example, because templates representing mathematical types like matrices and vectors can be parametrised by integers defining their dimension(s) as well as the type of an individual element.
You can also use template wizardry to write libraries like mp-units¹ or units² that provide explicit representations for numerical values with units. You can even get fancy with user-defined literals so you can write things like 0.5_m and have a suitably-typed value created (though that particular trick does get less useful once you need arbitrary compound units like kg·m·s⁻²).
Both of those are fairly well-defined problems and the solutions available do provide a good degree of static checking at compile time.
IMHO, the range question is the trickiest one of your three examples, because in real mathematical code there are so many different things you might want to constrain. You could define a parametrised type representing open or closed ranges of integers between X and Y easily enough, but how far down the rabbit hole do you go? Fractional values with attached precision/error metadata? The 572 specific varieties of matrix that get defined in a linear algebra textbook, and which variety you get back when you compute a product of any two of them?
¹ https://mpusz.github.io/mp-units/
² http://nholthaus.github.io/units/
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
-
-
-
-
-
learnmoderncpp-tutorial
Complete, working programs, plus Markdown sources, from the C++ tutorial hosted at learnmoderncpp.com
-
Project mention: Show HN: Logfmtxx – Header only C++23 structured logging library using logfmt | news.ycombinator.com | 2024-04-03
-
-
-
-
-
-
-
-
Im upgrading avx2 to avx512 (where possible) in my reimplementation of RandomX algorithm: https://github.com/patrulek/modernRX
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
C++ cpp23 discussion
C++ cpp23 related posts
-
Hyprland – Tiling Compositor with the Looks
-
Hyprland has officially moved away from wlroots
-
Show HN: Logfmtxx – Header only C++23 structured logging library using logfmt
-
Improving cursor rendering on Wayland
-
Show HN: Header only C++23 library for gamedev (back end agnostic)
-
Hyprland broken config file :c
-
Is there any transparent themes for GTK 2 or QT?
-
A note from our sponsor - CodeRabbit
coderabbit.ai | 9 Feb 2025
Index
What are some of the best open-source cpp23 projects in C++? This list will help you:
# | Project | Stars |
---|---|---|
1 | Hyprland | 23,153 |
2 | Modern-CPP-Programming | 12,813 |
3 | doctest | 6,089 |
4 | cppinsights | 4,184 |
5 | mp-units | 1,149 |
6 | liblava | 805 |
7 | obfuscator | 641 |
8 | aitoolkit | 470 |
9 | roq-api | 468 |
10 | mdspan | 431 |
11 | saucer | 333 |
12 | librapid | 166 |
13 | roq-cpp-samples | 162 |
14 | learnmoderncpp-tutorial | 126 |
15 | logfmtxx | 71 |
16 | Kalman | 52 |
17 | bit_set | 43 |
18 | LibFire | 26 |
19 | csgo_internal_base | 24 |
20 | sdk-core | 23 |
21 | genetic | 18 |
22 | paradigm | 17 |
23 | modernRX | 14 |