SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 C++ Clang Projects
-
simdjson
Parsing gigabytes of JSON per second : used by Facebook/Meta Velox, the Node.js runtime, ClickHouse, WatermelonDB, Apache Doris, Milvus, StarRocks
AVX-512 is on Zen5. Ultra-popular libraries like simdjson can use it. https://github.com/simdjson/simdjson/issues/10
In general my hope is that runtimes pick up the good stuff & roll with it. Io_uring hasn't exactly been a stunning success on nidejs/libuv but the promise is so real that runtimes can take sweet io capabilities like io_uring or usersoace interrupts & boom, now everyone's ok is faster.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Project mention: Bear is a tool that generates a compilation database for Clang tooling | news.ycombinator.com | 2024-10-08
-
sol2
Sol3 (sol2 v3.0) - a C++ <-> Lua API wrapper with advanced features and top notch performance - is here, and it's great! Documentation:
PSA: if you are using (modern) C++, https://github.com/ThePhD/sol2 makes embedding Lua incredibly easy and straightforward.
-
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.
-
-
-
-
kfr
Fast, modern C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters (SSE, AVX, AVX-512, ARM NEON)
-
-
DirectXMath
DirectXMath is an all inline SIMD C++ linear algebra library for use in games and graphics apps
Project mention: A 94x speed improvement demonstrated using handwritten assembly | news.ycombinator.com | 2024-11-04> it simply works better this way
That is simply not true.
> clang messing up x86 intrinsics code
The code is correct, and on some processors runs slightly faster than the original. Clang is the only compiler which does anything like that. And the example is irrelevant to ffmpeg because it operates on FP64 numbers, video codecs mostly do integer math.
> they're so hard to read that the asm is actually more maintainable
That’s subjective, I’m using SIMD intrinsics for years and I find them way better than assembly.
Another thing, you can treat C as a high-level language as opposed to portable assembler. If you define structures, functions and classes in C++ which use these SIMD vectors, readability of intrinsics becomes way better than assembly. Here’s a good example of a library designed that way: https://github.com/microsoft/DirectXMath
-
-
-
-
> On another note: C++ compiler should by default keep statistics about the chain of #include's / parsing during compilation and dump it to a file at the end and also summarize how badly you're re-parsing the same .h files during build.
Not exactly that, but do you know clang's -ftime-trace and tools like https://github.com/aras-p/ClangBuildAnalyzer which help analyzing where time is actually spent? (In small repeated headers I don't see much of a problem, but they of course may contain not so small things ...)
-
-
-
-
-
Project mention: Multiplier v2: Code indexer specialized for C/C++ | news.ycombinator.com | 2024-08-03
-
ropfuscator
ROPfuscator is a fine-grained code obfuscation framework for C/C++ programs using ROP (return-oriented programming).
-
vast
VAST is an experimental compiler pipeline designed for program analysis of C and C++. It provides a tower of IRs as MLIR dialects to choose the best fit representations for a program analysis or further program abstraction.
-
-
fccf
fccf: A command-line tool that quickly searches through C/C++ source code in a directory based on a search string and prints relevant code snippets that match the query.
C++ Clang discussion
C++ Clang related posts
-
You can use C-Reduce for any language
-
Bear is a tool that generates a compilation database for Clang tooling
-
Automated Test-Case Reduction
-
Clang in Browser
-
Speeding up C++ build times
-
C++20 Idioms for Parameter Packs
-
Cling 1.0 Released
-
A note from our sponsor - SaaSHub
www.saashub.com | 20 Jan 2025
Index
What are some of the best open-source Clang projects in C++? This list will help you:
# | Project | Stars |
---|---|---|
1 | simdjson | 19,593 |
2 | Bear | 5,171 |
3 | sol2 | 4,336 |
4 | cppinsights | 4,175 |
5 | cling | 3,625 |
6 | cppcoro | 3,461 |
7 | ccache | 2,377 |
8 | kfr | 1,699 |
9 | botw | 1,595 |
10 | DirectXMath | 1,578 |
11 | pfr | 1,358 |
12 | zapcc | 1,252 |
13 | codebrowser | 1,098 |
14 | ClangBuildAnalyzer | 1,032 |
15 | clif | 980 |
16 | cib | 844 |
17 | clang-tutor | 715 |
18 | clang-uml | 642 |
19 | multiplier | 444 |
20 | ropfuscator | 422 |
21 | vast | 404 |
22 | boomerang | 377 |
23 | fccf | 363 |