C++ Clang

Open-source C++ projects categorized as Clang

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

    Project mention: 1BRC Merykitty's Magic SWAR: 8 Lines of Code Explained in 3k Words | news.ycombinator.com | 2024-03-09
  • Bear

    Bear is a tool that generates a compilation database for clang tooling.

    Project mention: emacs lsp-mode with MPLAB X project | /r/emacs | 2023-11-30

    Have you tried Bear? I used it for several projects and overall it works very well.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • sol2

    Sol3 (sol2 v3.0) - a C++ <-> Lua API wrapper with advanced features and top notch performance - is here, and it's great! Documentation:

    Project mention: Any tips for how to make moddable games? | /r/gamedev | 2023-05-20

    As someone said, make the game data-driven is a good first step but I will say, also have some sort of way to add additional game logic. For C++ games, lua is really easy to embed the interpreter in your C++ binary, read in the files from a directory (like /mods) with the C++ filesystem api new in C++17, and it's very easy to use SoL to write an API for lua specific to your game. Many games use lua in this way and it's probably the most common mod path setup.

  • cppinsights

    C++ Insights - See your source code with the eyes of a compiler

    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.

  • cling

    The cling C++ interpreter

    Project mention: Cling 1.0 Released | news.ycombinator.com | 2024-01-28
  • cppcoro

    A library of C++ coroutine abstractions for the coroutines TS

    Project mention: Struggle with C++ 20 Coroutines | /r/cpp_questions | 2023-05-13

    PS: Take a look at cppcoro; this might help as well, especially generator<>, if you're looking to generate numbers, and stuff;

  • ccache

    ccache – a fast compiler cache

    Project mention: Deep Learning with “AWS Graviton2 + NVIDIA Tensor T4G” for as low as free* with CUDA 12.2 | dev.to | 2023-09-10

    # Download and install ccache for faster compilation wget https://github.com/ccache/ccache/releases/download/v4.8.3/ccache-4.8.3.tar.xz tar -xf ccache-4.8.3.tar.xz pushd ccache-4.8.3 cmake . make -j $CPUS make install popd # Install NumPy, a dependency for PyTorch dnf install -y numpy # Install Python typing extensions for better type-checking sudo -u ec2-user pip3 install typing-extensions # Clone PyTorch repository and install from source git clone --recursive https://github.com/pytorch/pytorch.git pushd pytorch python3 setup.py install popd # Refresh the dynamic linker run-time bindings ldconfig # Install additional Python libraries for PyTorch sudo -u ec2-user pip3 install sympy filelock fsspec networkx

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • 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

  • botw

    Decompilation of The Legend of Zelda: Breath of the Wild (Switch 1.5.0)

    Project mention: The Legend of Zelda: Breath of the Wild Decompilation Project | news.ycombinator.com | 2023-11-24
  • pfr

    std::tuple like methods for user defined types without any macro or boilerplate code

    Project mention: Rooting for P1061 "Structured Bindings can introduce a Pack" | /r/cpp | 2023-10-19

    This single feature opens a world of new possiblities. For example, it makes implementing "getting the number of fields" trivial. Furthrmore, and much more importantly, it enables turning a struct into a tuple. Currently, this can only be done by enumerating cases (therefore it's not fully generic), as with Boost PFR. By the way, PFR greatly simplifies our codebases, especially for parts with serialization and/or reflection.

  • zapcc

    zapcc is a caching C++ compiler based on clang, designed to perform faster compilations

  • codebrowser

    Woboq CodeBrowser

  • clif

    Binding generator to wrap C++ for Python using LLVM. (by google)

  • ClangBuildAnalyzer

    Clang build analysis tool using -ftime-trace

    Project mention: Build Insights Now Available in Visual Studio 2022 | /r/cpp | 2023-06-19

    You can also use the following when you want to inspect multiple files: https://github.com/aras-p/ClangBuildAnalyzer

  • cib

    clang running in browser (wasm)

  • clang-tutor

    A collection of out-of-tree Clang plugins for teaching and learning

  • clang-uml

    Customizable automatic UML diagram generator for C++ based on Clang.

    Project mention: Show HN: Clang-uml C to UML diagram generator based on Clang | /r/hypeurls | 2023-06-26
  • ropfuscator

    ROPfuscator is a fine-grained code obfuscation framework for C/C++ programs using ROP (return-oriented programming).

    Project mention: Bypassing Windows Defender (10 Ways) | dev.to | 2023-08-27

    ropfuscator (sadly only for Linux at the moment)

  • boomerang

    Boomerang Decompiler - Fighting the code-rot :)

  • 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.

  • 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.

    Project mention: Print(“lol”) doubled the speed of my Go function | news.ycombinator.com | 2023-08-23

    Most languages target C or LLVM, and C and LLVM have a fundamentally lossy compilation processes.

    To get around this, you'd need a hodge podge of pre compiler directives, or take a completely different approach.

    I found a cool project that uses a "Tower of IRs" that can restablish source to binary provenance, which, seems to me, to be on the right track:

    https://github.com/trailofbits/vast

    I'd definitely like to see the compilation processes be more transparent and easy to work with.

  • cvise

    Super-parallel Python port of the C-Reduce

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-04-05.

C++ Clang related posts

Index

What are some of the best open-source Clang projects in C++? This list will help you:

Project Stars
1 simdjson 18,337
2 Bear 4,397
3 sol2 3,927
4 cppinsights 3,429
5 cling 3,323
6 cppcoro 3,214
7 ccache 2,149
8 kfr 1,578
9 DirectXMath 1,482
10 botw 1,423
11 pfr 1,257
12 zapcc 1,238
13 codebrowser 1,074
14 clif 960
15 ClangBuildAnalyzer 912
16 cib 815
17 clang-tutor 634
18 clang-uml 506
19 ropfuscator 399
20 boomerang 364
21 fccf 345
22 vast 334
23 cvise 193
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com