Sglib is a C library freely inspired by Standard Template Library (STL). It defines generic macros and functions for sorting arrays, manipulating lists, sorted lists, double linked lists, hashed containers, and red-black trees.
Categories
Software DevelopmentLicense
GNU General Public License version 2.0 (GPLv2), Open Software License 3.0 (OSL3.0)Follow Simple Generic Library for C
Other Useful Business Software
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
-
New users of the library should check the bug list for a couple of important fixes (depending on which features you use).
-
I like the idea macro based templating and the fact that you can use the data structure algorithms on your existing types. However, the singly linked list implementation adds elements onto the head of the list instead of the tail and thus later iteration is effectively in reverse. Perhaps I'm using it wrong?