Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev. Learn more →
Top 23 C++ Algorithm Projects
-
C-Plus-Plus
Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.
-
-
Onboard AI
Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.
-
Project mention: A site that hosts implementations of various programming algorithms in different languages | /r/programming | 2023-02-07
-
Project mention: Popcount walks: next, previous, toward and nearest | news.ycombinator.com | 2023-11-14
As a competitive programmer, I’ve seen similar ‘magic’ tricks here: https://github.com/kth-competitive-programming/kactl/blob/ma... (page 23)
-
Project mention: What are the scenarios where "Rewrite it in Rust" didn't meet your expectations or couldn't be successfully implemented? | /r/rust | 2023-06-09
I tried to rewrite Clipper2 in Rust. There's a C#, a Delphi and a C++ implementation, so how hard can it be?
-
-
-
InfluxDB
Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
-
CppRobotics
Header-only C++ library for robotics, control, and path planning algorithms. Work in progress, contributions are welcome!
-
Project mention: A High Throughput B+tree for SIMD Architectures [pdf] | news.ycombinator.com | 2023-09-17
I once needed that thing (with 32-bit integer keys, and either FP32 or FP64 values), but I didn’t want to spend too much time designing novel data structures.
I have copy-pasted B+ tree from TLX https://github.com/tlx/tlx (Boost license), and then I did some local changes to improve the performance for my specific keys and value types. I have used AVX2 intrinsics to improve search within nodes, and I also implemented a few more simple tricks. After these changes, the performance became satisfactory for my application.
-
-
Actual Web Site
-
ANMS-Codes
Efficient adaptive non-maximal suppression algorithms for homogeneous spatial keypoint distribution
-
dice
Digital Image Correlation Engine (DICe): a stereo DIC application that runs on Mac, Windows, and Linux (by dicengine)
-
SwiftAA
The most comprehensive collection of accurate astronomical algorithms in (C++, Objective-C and) Swift.
-
cppRouting: I've just discovered this package. I use it if I require fast routing and can provide my own spatial graph data. So if I can't use OSM (maybe because of licence issues) this package will provide very fast results, too! I didn't compare the performance against the sfnetworks package, but I guess it's a lot faster and memory efficient especially for large networks. It also supports many implementations of different routing algorithms.
-
Solution for OJ problems : They needed solutions for problems of different online judges. As I did comitative programming for three years. It was my cup of tee. I jumped in and solved excellent problems and added solutions as they needed.
-
-
cpstl
Copy and Paste standard library (CPSTL) is a repository with a collection of data structure and algorithms in many different languages
Project mention: a better way to read from a socket with unusual end-of-stream tokens | /r/golang | 2022-12-04Thanks, I just tweak a little bit the code and make a package for it https://github.com/vincenzopalazzo/cpstl/blob/master/go/io/scan/scan.go
-
EUL
The mathEmatics Useful Library (the name is a work in progress) is a math general purpose c++20 header library that, among other things, features a big integer implementation. (by ThePirate42)
-
Algorithms
A collection of data structures and algorithms written in C++ with comments and links to further reading. (by ashleymays)
-
-
KD-tree
a specific data structure for efficiently representing our data. In particular, KD-trees helps organize and partition the data points based on specific conditions.💥🦄 (by Ahmed-Elgohary1)
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
C++ Algorithm related posts
- Popcount walks: next, previous, toward and nearest
- Question about ints used for enums (cast as enum) (4.0.2)
- A site that hosts implementations of various programming algorithms in different languages
- Resources for cracking data strctures and algorithms interview
- a better way to read from a socket with unusual end-of-stream tokens
- 👾Need some suggestion for DSA answer storing for revison
- An app to compute the coefficients of a function development in a spherical harmonics convergent series
-
A note from our sponsor - Onboard AI
getonboard.dev | 30 Nov 2023
Index
What are some of the best open-source Algorithm projects in C++? This list will help you:
Project | Stars | |
---|---|---|
1 | C-Plus-Plus | 26,704 |
2 | algorithms_and_data_structures | 5,586 |
3 | LeetCode-Solutions | 4,321 |
4 | kactl | 2,307 |
5 | Clipper2 | 996 |
6 | cpp-sort | 576 |
7 | algorithms | 453 |
8 | CppRobotics | 384 |
9 | tlx | 367 |
10 | CavalierContours | 346 |
11 | CXXGraph | 325 |
12 | ANMS-Codes | 303 |
13 | dice | 292 |
14 | SwiftAA | 145 |
15 | cppRouting | 95 |
16 | C-plus-plus-Algorithms | 32 |
17 | sparse-som | 18 |
18 | cpstl | 14 |
19 | EUL | 6 |
20 | Algorithms | 3 |
21 | Game-of-Life | 2 |
22 | KD-tree | 0 |
23 | cdiff | 0 |