Top 23 C++ C Projects
FlatBuffers: Memory Efficient Serialization LibraryProject 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)
Sourcetrail - free and open-source interactive source explorerProject 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
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.
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
Apache ThriftProject 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.
✔️The smallest header-only GUI library(4 KLOC) for all platformsProject mention: Deeply understand your GitHub/GitLab project | reddit.com/r/github | 2021-01-17
You can get source code here
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.
nghttp2 - HTTP/2 C Library and tools
static analysis of C/C++ code
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
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
HarfBuzz text shaping engineProject 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
A retro multiplayer shooter
Community effort to maintain and improve Jedi Academy (SP & MP) + Jedi Outcast (SP only) released by Raven SoftwareProject 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.
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.
ccache – a fast compiler cacheProject 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.
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).
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.
Colorizing text editor for ImGuiProject mention: Show HN: Virtual breadboard in your desktop browser, inspired by Ben Eater 6502 | news.ycombinator.com | 2021-01-19
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
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 or Dextool?
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
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
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!
A testing micro framework for creating function test doubles
What are some of the best open-source C projects in C++? This list will help you: