C++ C

Open-source C++ projects categorized as C

Top 23 C++ C Projects

  • GitHub repo FlatBuffers

    FlatBuffers: Memory Efficient Serialization Library

    Project mention: FlatBuffers vs Protocol Buffer | reddit.com/r/cpp | 2021-01-25

    However, protobuf generally has better support. (Recent grpc versions seem to have broken FB support, unfortunately)

  • GitHub repo Sourcetrail

    Sourcetrail - free and open-source interactive source explorer

    Project mention: The Database Inside Your Codebase | news.ycombinator.com | 2021-02-16

    I'm with you on this one. I'd actually suggest https://github.com/CoatiSoftware/Sourcetrail could be extended to do this, though I haven't found the time yet. For example https://github.com/CoatiSoftware/SourcetrailPythonIndexer and under the hood the file format is SQLite: https://github.com/CoatiSoftware/SourcetrailDB

  • Scout

    Get performance insights in less than 4 minutes. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo OpenRCT2

    An open source re-implementation of RollerCoaster Tycoon 2 🎢

    Project mention: Last months in OpenRCT2 #5 (February 2021) | reddit.com/r/rct | 2021-02-23

    My pick is this one: https://github.com/OpenRCT2/OpenRCT2/pull/12888

  • GitHub repo Apache Thrift

    Apache Thrift

    Project mention: Can you share your experience with race conditions in production? | reddit.com/r/java | 2021-01-25

    We were sharing instances of a Thrift TDeserializer across threads. We knew TProtocol was not thread-safe, but the TDeserializer constructor accepts a TProtocolFactory, so we naively assumed the deserialize method would use that to create a new instance of TProtocol for each invocation, but unfortunately, the TDeserializer constructor immediately creates TProtocol and stores it in a member variable, so TDeserializer is not actually thread-safe.

  • GitHub repo GuiLite

    ✔️The smallest header-only GUI library(4 KLOC) for all platforms

    Project mention: Deeply understand your GitHub/GitLab project | reddit.com/r/github | 2021-01-17

    You can get source code here

  • GitHub repo fswatch

    A cross-platform file change monitor with multiple backends: Apple OS X File System Events, *BSD kqueue, Solaris/Illumos File Events Notification, Linux inotify, Microsoft Windows and a stat()-based backend.

    Project mention: Can I version control directories like /Applications, /Library/Application Support, /usr/local etc using Git? | reddit.com/r/MacOS | 2021-02-13

    Found an interesting tool while searching for a readily available solution: https://github.com/emcrisostomo/fswatch but not sure if it is kind of always on or not. Requires port or brew to install it, so not able to test it.

  • GitHub repo nghttp2

    nghttp2 - HTTP/2 C Library and tools

  • GitHub repo Cppcheck

    static analysis of C/C++ code

  • GitHub repo ArrayFire

    ArrayFire: a general purpose GPU library.

    Project mention: World’s First 1k-Processor Chip, Powered by a Single AA Battery (2016) | news.ycombinator.com | 2021-02-15
  • GitHub repo Reverse-Engineering-Tutorial

    A FREE comprehensive reverse engineering course covering x86, x64, 32-bit ARM & 64-bit ARM architectures.

    Project mention: Lesson 174: ARM-64 Course (Part 17 - Hacking Float Primitive Datatype) | reddit.com/r/ReverseEngineering | 2021-01-30
  • GitHub repo harfbuzz

    HarfBuzz text shaping engine

    Project mention: Bug: Kerning broken. - Dev: You can try to get used to the "blurry" rendering. Or you can find something else to use, or whatever. You are using Free Software you realize, right? | reddit.com/r/programmingcirclejerk | 2021-01-12

    Quality off-topic jerk down below

  • GitHub repo Teeworlds

    A retro multiplayer shooter

  • GitHub repo OpenJK

    Community effort to maintain and improve Jedi Academy (SP & MP) + Jedi Outcast (SP only) released by Raven Software

    Project mention: Compiling OpenJK | reddit.com/r/linux_gaming | 2021-01-23

    I am hoping he is referring to this :) https://github.com/JACoders/OpenJK Which is an open source version of the starwars jedi knight academy games.

  • GitHub repo faust

    Functional programming language for signal processing and sound synthesis (by grame-cncm)

    Project mention: Audio DSP language SOUL reaches V1.0 status | reddit.com/r/programming | 2021-01-21

    Had a look at some Faust publications; you're right, very similar concepts; and as it seems it's still actively developed: https://github.com/grame-cncm/faust; and it even supports FPGAs; amazing.

  • GitHub repo ccache

    ccache – a fast compiler cache

    Project mention: building new kernels frequently | reddit.com/r/archlinux | 2021-02-13

    ccache is a tool for the gcc compiler used to compile the same program over and over again with little downtime. While it may take a few seconds longer to compile a program the first time with ccache, subsequent compiles will be much, much faster.

  • GitHub repo enkiTS

    A permissively licensed C and C++ Task Scheduler for creating parallel programs. Requires C++11 support.

    Project mention: Voxel Vendredi 74 | reddit.com/r/VoxelGameDev | 2021-01-08

    GL_MAP_PERSISTENT_BIT for any data which is changed per-frame, such as constant buffers, particle data, SSBO data etc. This allows the data to be written in parallel (I use my tasking system enkiTS).

  • GitHub repo cr

    cr.h: A Simple C Hot Reload Header-only Library (by fungos)

    Project mention: What are good Lua alternatives as an embeddable language? | reddit.com/r/gamedev | 2021-01-17

    Depends on your use case, but I would second the option of just hot reloading c++. I have been experimenting with that (using cr.h) and its great - as long as you make sure your compile and link times are fast enough.

  • GitHub repo ImGuiColorTextEdit

    Colorizing text editor for ImGui

    Project mention: Show HN: Virtual breadboard in your desktop browser, inspired by Ben Eater 6502 | news.ycombinator.com | 2021-01-19

    The text editor is this one https://github.com/BalazsJako/ImGuiColorTextEdit, it's listed on the third-party attributions page (https://www.tejotron.com/thirdparty.html)

  • GitHub repo slop

    slop (Select Operation) is an application that queries for a selection from the user and prints the region to stdout. (by naelstrof)

    Project mention: Some nifty stuff ffmpeg can do | reddit.com/r/linux | 2021-02-13

    Here: https://github.com/naelstrof/slop

  • GitHub repo mull

    Practical mutation testing tool for C and C++

    Project mention: Mutation Driven Testing: When TDD Just Isn’t Good Enough | news.ycombinator.com | 2021-02-06

    re: absence of C++ tools

    Have you looked at Mull[1] or Dextool[2]?

    [1] https://github.com/mull-project/mull

    [2] https://github.com/joakim-brannstrom/dextool/tree/master/plu...

  • GitHub repo dsd

    Digital Speech Decoder (by szechyjs)

    Project mention: Anyone in GTA/Toronto, Canada have any interesting frequencies to listen to? | reddit.com/r/RTLSDR | 2020-12-24

    Try scanning around for some digital stuff with https://github.com/szechyjs/dsd

  • GitHub repo Enzyme

    High-performance automatic differentiation of LLVM. (by wsmoses)

    Project mention: news.ycombinator.com | 2021-02-17

    Hi all, another author here and happy to answer any questions!

    Some more relevant links for the curious

    Github: https://github.com/wsmoses/Enzyme

    Paper: https://proceedings.neurips.cc/paper/2020/file/9332c513ef44b...

    Basically the long story short is that Enzyme has a couple of interesting contributions:

    1) Low-level Automatic Differentiation (AD) IS possible and can be high performance

    2) By working at LLVM we get cross-language and cross-platform AD

    3) Working at the LLVM level actually can give more speedups (since it's able to be performed after optimization)

    4) We made a plugin for PyTorch/TF that uses Enzyme to import foreign code into those frameworks with ease!

  • GitHub repo fff

    A testing micro framework for creating function test doubles

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 2021-02-23.


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

Project Stars
1 FlatBuffers 15,830
2 Sourcetrail 10,421
3 OpenRCT2 9,137
4 Apache Thrift 8,117
5 GuiLite 5,246
6 fswatch 3,715
7 nghttp2 3,633
8 Cppcheck 3,361
9 ArrayFire 3,319
10 Reverse-Engineering-Tutorial 2,990
11 harfbuzz 1,815
12 Teeworlds 1,552
13 OpenJK 1,547
14 faust 1,339
15 ccache 1,103
16 enkiTS 947
17 cr 833
18 ImGuiColorTextEdit 760
19 slop 636
20 mull 525
21 dsd 461
22 Enzyme 395
23 fff 392