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: Tips on adding JSON output to your command line utility. (2021) | news.ycombinator.com | 2024-04-20

    It's also supported by simdjson [0] (which has a lot of language bindings [1]):

    > Multithreaded processing of gigantic Newline-Delimited JSON (ndjson) and related formats at 3.5 GB/s

    [0] https://simdjson.org/

    [0] https://github.com/simdjson/simdjson?tab=readme-ov-file#bind...

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

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

    InfluxDB logo
  • 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

  • SaaSHub

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

    SaaSHub logo
  • 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: Speeding up C++ build times | news.ycombinator.com | 2024-04-28

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

  • 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

    SaaSHub logo
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).

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,386
2 Bear 4,453
3 sol2 3,956
4 cppinsights 3,555
5 cling 3,342
6 cppcoro 3,235
7 ccache 2,164
8 kfr 1,587
9 DirectXMath 1,481
10 botw 1,437
11 pfr 1,263
12 zapcc 1,238
13 codebrowser 1,075
14 clif 960
15 ClangBuildAnalyzer 931
16 cib 825
17 clang-tutor 634
18 clang-uml 515
19 ropfuscator 397
20 boomerang 364
21 fccf 345
22 vast 335
23 cvise 199

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com