SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 C++ Math Projects
-
As for math, that was the easiest choice as of yet. No doubt, GLM is a "gold standard" at this point. For OpenGL it is, at least. But, like with a lot of the other APIs, I decided to build a wrapper around it rather than directly reference the library in the engine's code. And for physics, well, I had not come upon that answer just yet. I did try to make my own physics logic at some point. And while it was, surprisingly, successful, I wanted more than just a simple physics layer. I wanted something more complex and, more importantly, faster than my implementation. I have not decided upon a physics library yet. But I'll cross that bridge when I come to it.
-
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: Cgal: A Powerful Open-Source Computational Geometry Library | news.ycombinator.com | 2024-08-06
-
Project mention: High-Fidelity 3D Mesh Generation at Scale with Meshtron – Nvidia Technical Blog | news.ycombinator.com | 2024-12-16
Texture coordinates can already be represented as a constrained minimization problem so it already is "solved" in the sense that you can brute force any quality level by putting enough CPU power into a solver like http://ceres-solver.org/
-
Project mention: Understanding SIMD: Infinite Complexity of Trivial Problems | news.ycombinator.com | 2024-11-30
I'm surprised no one has mentioned Vc. I found ispc clunky and not as performant, and std::simd didn't support some useful math ops like rsqrt. Vc has been around for years, I have no trouble including it in my codes, it has masking and many of the most useful math ops, and I can get over 1 TF/s on a consumer-grade Ryzen and at least 3 TF/s on the big Epyc CPUs.
https://github.com/VcDevel/Vc
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
MathParser.org-mXparser
Math Parser: Java, C#, C++, Kotlin, Android, and all .NET platforms (Nuget, Maven, CMake). Supports .NET Framework, .NET Core, .NET Standard, Xamarin, and more. Features: rich built-in library of math functions, operators, constants. Flexible in user-defined arguments, functions. Expressions provided as plain text. Easy to use. Well documented.
-
-
-
-
ExprTK
C++ Mathematical Expression Parsing And Evaluation Library https://www.partow.net/programming/exprtk/index.html
-
-
-
-
-
-
-
-
maths
Linear algebra library with vector swizzling, intersection tests and useful functions for games and graphics dev.
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
C++ Math discussion
C++ Math related posts
-
"A calculator app? Anyone could make that."
-
Updates to H-1B
-
High-Fidelity 3D Mesh Generation at Scale with Meshtron – Nvidia Technical Blog
-
Understanding SIMD: Infinite Complexity of Trivial Problems
-
Improving Documentation in Theoretica
-
Gamedev Math: Not Just A Tool But A Necessity
-
How to render TrueType Fonts in OpenGL using stb_truetype.h
-
A note from our sponsor - SaaSHub
www.saashub.com | 16 Mar 2025
Index
What are some of the best open-source Math projects in C++? This list will help you:
# | Project | Stars |
---|---|---|
1 | GLM | 9,696 |
2 | QuantLib | 5,752 |
3 | CGal | 5,274 |
4 | ceres-solver | 4,014 |
5 | Vc | 1,475 |
6 | symengine | 1,213 |
7 | primesieve | 988 |
8 | GamePhysicsCookbook | 943 |
9 | MathParser.org-mXparser | 917 |
10 | hlslpp | 779 |
11 | gcem | 765 |
12 | rtm | 749 |
13 | ExprTK | 733 |
14 | XaoS | 537 |
15 | muparser | 445 |
16 | primecount | 316 |
17 | Boost.Multiprecision | 210 |
18 | safe_numerics | 210 |
19 | Sand-Table | 184 |
20 | Wykobi | 171 |
21 | maths | 106 |
22 | FastAD | 104 |
23 | YAWYSIWYGEE | 92 |