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 9 C++ conan Projects
-
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/
-
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.
-
-
-
-
VulkanStarter
A template for Vulkan C++ projects with GLFW, GLM and ImGUI using CMake, CI, Conan and doctest
-
user-management
An open-source application delivering a responsive user management experience. (by prince-chrismc)
-
Flow
Flow is a software framework focused on ease of use while maximizing performance in closed closed loop systems (e.g. robots). Flow is built on top of C++ 20 coroutines and utilizes modern C++ techniques. (by ManuelMeraz)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
samarium
2D physics simulation and rendering library in modern C++, with GPU acceleration (by jjbel)
-
ToDoApp
A experimental project for run C++ in a WebApplication using a asm.js runtime as business layer. (by Neirth)
C++ conan discussion
C++ conan related posts
-
Best practice for cpp projects using CMake
-
C++ Is Incredible
-
C++ for scientific programming?
-
How do you manage third-party libraries
-
Build2 seems to have the right idea.
-
I made a POC WebApplication using asm.js and C++ to test the difficult to port apps in a multiplatform environment, maybe is useful for some teams.
-
I made a POC WebApplication using asm.js and C++ to test the difficult to port apps in a multiplatform environment, maybe is useful for someteams
-
A note from our sponsor - CodeRabbit
coderabbit.ai | 17 Mar 2025
Index
What are some of the best open-source conan projects in C++? This list will help you:
# | Project | Stars |
---|---|---|
1 | mp-units | 1,170 |
2 | packio | 144 |
3 | expresscpp | 92 |
4 | Spatial.Engine | 75 |
5 | VulkanStarter | 26 |
6 | user-management | 12 |
7 | Flow | 10 |
8 | samarium | 8 |
9 | ToDoApp | 0 |