C++ C

Open-source C++ projects categorized as C

Top 23 C++ C Projects

  • GitHub repo FlatBuffers

    FlatBuffers: Memory Efficient Serialization Library

    Project mention: I made an NBT-based data format, but a little more general purpose | reddit.com/r/gamedev | 2021-06-16

    FlatBuffers -- encoding is not as compact as protocol buffers, but encoding / decoding is faster

  • GitHub repo Sourcetrail

    Sourcetrail - free and open-source interactive source explorer

    Project mention: Is there a way I can visualize all the function calls made while running the project(C++) in a graphical way? | reddit.com/r/cpp | 2021-06-15

    Sourcetrail used to cost money but now it’s free I think.

  • GitHub repo OpenRCT2

    An open source re-implementation of RollerCoaster Tycoon 2 🎢

    Project mention: Build fails at 100% | reddit.com/r/openrct2 | 2021-06-15

    I followed this guide and reinstalled all the packages. It works now :)

  • GitHub repo Apache Thrift

    Apache Thrift

    Project mention: proposal: expression to create pointer to simple types #45624 | reddit.com/r/golang | 2021-04-18
  • 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: Random file appeared on my mac desktop then disappeared instantly. | reddit.com/r/techsupport | 2021-04-21

    Theoretically, you could use something like fswatch and make a simple one-liner like fswatch ~/Desktop | xargs -I{} cp {} ~/caught-files

  • GitHub repo nghttp2

    nghttp2 - HTTP/2 C Library and tools

    Project mention: How To Configure NGINX With SSL and HTTP/2 | dev.to | 2021-05-11

    In this section, I'll use an open-source HTTP client named Nghttp2 for testing the server.

  • GitHub repo ArrayFire

    ArrayFire: a general purpose GPU library.

    Project mention: Arrayfire progressive performance decline? | reddit.com/r/rust | 2021-06-09

    Your Problem may be the lazy evaluation, see this issue: https://github.com/arrayfire/arrayfire/issues/1709

  • GitHub repo Cppcheck

    static analysis of C/C++ code

    Project mention: How to detect stack corruption in embedded c?? | reddit.com/r/embedded | 2021-04-27
  • GitHub repo harfbuzz

    HarfBuzz text shaping engine

    Project mention: Software rendering vector graphic fonts? | reddit.com/r/GraphicsProgramming | 2021-04-22
  • 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: Looking for a project to combine cs and music? | reddit.com/r/audioengineering | 2021-06-09

    If you have really no clue on what to do and it's a fairly small project, I think I would personally build something with Faust: https://faust.grame.fr/

  • GitHub repo ccache

    ccache – a fast compiler cache

    Project mention: 15-20 minute compile time? How could Tarn Adams (or we) fix this? (Any expert devs know how to speed up C compiles?) | reddit.com/r/dwarffortress | 2021-06-07

    he could use this ccache as it cache all the files that didn't get changed so it won't get recompiled

  • GitHub repo cmake-cookbook

    CMake Cookbook recipes.

    Project mention: Getting started with cmake (and the rest of the linux ecosystem) | reddit.com/r/cpp_questions | 2021-03-10
  • GitHub repo enkiTS

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

    Project mention: Hacker News top posts: Apr 4, 2021 | reddit.com/r/hackerdigest | 2021-04-04

    enkiTS: A C and C++ Task Scheduler for creating parallel programs\ (15 comments)

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

    A vim plugin for libclang-based highlighting of C, C++, ObjC

    Project mention: Full syntax highlighting for C++ | reddit.com/r/vim | 2021-04-07

    Install this C++ highlighting via Vundle https://github.com/jeaye/color_coded

  • 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: Slurp alternative for Xorg. | reddit.com/r/linuxquestions | 2021-04-02
  • GitHub repo mull

    Practical mutation testing tool for C and C++

    Project mention: Ask HN: Show me your Half Baked project | news.ycombinator.com | 2021-01-09

    Not really half-baked, but not ready for the prime time either:

    Mull[0] is a tool for mutation testing of C and C++ projects. The goal of mutation testing is to show the gaps in the semantic coverage

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

  • GitHub repo geos

    Geometry Engine, Open Source [MIRROR] (by libgeos)

    Project mention: A new way to make maps with OpenStreetMap | news.ycombinator.com | 2021-04-23
  • GitHub repo dsd

    Digital Speech Decoder

    Project mention: Snap package for DSD | reddit.com/r/RTLSDR | 2021-05-12

    To update the cmake files to better find portaudio; https://github.com/szechyjs/dsd/blob/master/cmake/FindLibPortAudio.cmake

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-06-16.


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

Project Stars
1 FlatBuffers 16,367
2 Sourcetrail 11,507
3 OpenRCT2 9,548
4 Apache Thrift 8,434
5 GuiLite 5,497
6 fswatch 3,811
7 nghttp2 3,744
8 ArrayFire 3,521
9 Cppcheck 3,521
10 harfbuzz 1,983
11 Teeworlds 1,601
12 OpenJK 1,591
13 faust 1,439
14 ccache 1,230
15 cmake-cookbook 1,217
16 enkiTS 1,123
17 cr 874
18 color_coded 845
19 ImGuiColorTextEdit 792
20 slop 671
21 mull 562
22 geos 521
23 dsd 478