|5 months ago||7 days ago|
|The Unlicense||GNU General Public License v3.0 or later|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Header only Parsing Expression Grammars (PEG) runtime engine for C
2 projects | reddit.com/r/C_Programming | 18 Feb 2021
An efficient image format for SDL
4 projects | reddit.com/r/gamedev | 28 Sep 2022
This is honestly wonderful. I've faced similar problems and my ad hoc solution was to use stb_image (which from my testing was a good bit faster than SDL_Image) and make a simple multithreaded asset loader to spread out the work load. All that said, thank you! I'm definitely going to be playing around with this.
Olive.c: a simple graphics library that does not have any dependencies
14 projects | news.ycombinator.com | 21 Sep 2022
There are many single-file C "libraries" that work perfectly fine as both "header" and "implementation", and that do not require unity builds (building everything as a single translation unit, e.g., a single .c file). Here is but one famous collection of them: https://github.com/nothings/stb
What are some cool modern libraries you enjoy using?
32 projects | reddit.com/r/cpp | 18 Sep 2022
if you need basic support for different things and don't mind slowness, stb has a bunch of nice simple libraries, mostly for image/sound/font loading/saving
ini.h: A simple single-header ini parser in c99
2 projects | reddit.com/r/C_Programming | 12 Sep 2022
I personally use the stb convention of using a double underscore after the "libprefix" to indicate internal functions. I.e lib_func() is a public function where lib__func() would be an internal one.
STC Templated Containers library V3.8
3 projects | reddit.com/r/C_Programming | 28 Jul 2022
I assume you refer to that two of the letters match with STL or STD, right? Even if they are not related to C at all. I assume STB, CTL, are not acceptable for you either?
8 projects | news.ycombinator.com | 23 Jul 2022
That’s not the case, if you take a bit of care. Look at STB for example (https://github.com/nothings/stb) -- I’ve successfully used STB functions on a bunch of different platforms. In both C and C++, even!
Any website that lists all the available libraries for C?
7 projects | reddit.com/r/C_Programming | 22 Jul 2022
C library to display linux webcam stream in a graphics window
2 projects | reddit.com/r/computervision | 20 Jul 2022
The requirements I am looking for are that it should be written in C and v4l2 driver and plus it would be great if there is support for https://github.com/nothings/stb/blob/master/stb_image.h .
2 projects | reddit.com/r/cprogramming | 27 Jun 2022
But it's probably easier to create an image file. I recommend using a library that takes care of the image format, e.g. you could use stb_image. Then you can focus on creating the image itself.
I want to make a program that draws a graphical function to a png and I don't know how.
4 projects | reddit.com/r/cpp_questions | 12 May 2022
https://github.com/nothings/stb. specifically stb_image_write.h. This is a "library" (it's 1 file) which allows you to take an array of pixels and encode it as a PNG, if this is what you're looking for.
What are some alternatives?
imgui-node-editor - Node Editor built using Dear ImGui
freetype-gl - OpenGL text using one vertex buffer, one texture and FreeType
Vcpkg - C++ Library Manager for Windows, Linux, and MacOS
ZXing - ZXing ("Zebra Crossing") barcode scanning library for Java, Android
ImageMagick - 🧙♂️ ImageMagick 7
Cppcheck - static analysis of C/C++ code
bgfx - Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
Experimental Boost.MSM-lite - Boost.SML (formerly called Boost.MSM-lite)
UNITS - a compile-time, header-only, dimensional analysis and unit conversion library built on c++14 with no dependencies.
Better String - The Better String Library
ZBar - Clone of the mercurial repository http://zbar.hg.sourceforge.net:8000/hgroot/zbar/zbar
Better Enums - C++ compile-time enum to string, iteration, in a single header file