Cnx
Abstract-Data-Types
Cnx | Abstract-Data-Types | |
---|---|---|
2 | 4 | |
4 | 34 | |
- | - | |
0.0 | 5.3 | |
over 1 year ago | 7 months ago | |
C | C | |
MIT License | MIT License |
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.
Cnx
- Convinient solutions for working with strings
-
Conditional preprocessor macro, anyone?
The biggest obstacles to make some form of functional programming (think more like Rust than Haskell) possible are __VA_OPT__, auto, lambdas, and defer. IIRC the first two are coming in C23. The last two might make it into the next standard after that, but unlikely to make 23. If you're willing to limit yourself to GNU C (so compiling with GCC or Clang, or maybe ICC) you can get pretty close already today. (shameless self plug) My project Cnx (https://github.com/braxtons12/Cnx) attempts to bring a more modern approach to the language, and a big chunk of the features it implements are functional in nature.
Abstract-Data-Types
-
Sources to learn Data structure implementation in C
This GitHub repo: https://github.com/pavlosdais/Abstract-Data-Types is great! It uses void pointers and dynamic memory to store any kind of data type. Also, I'm currently working on a repository myself! Here's the link: https://github.com/saulvaldelvira/Generic-Data-Structures It also has the same approach, void pointers and dynamic memory, for versatility. Those are the ones I known. About documentation/Books, i don't really know about any that are focused on C. What I use for my repo is basically my notes for university. But the internet is huge! There are tons of Data Structures tutorials focused on C. Good Luck!
-
Data structures library
It is primarily made for learning purposes so if anyone is interested in taking a look the repository to it can be found here.
-
Abstract Data Structures Library
It is created in an abstract way by using void pointers. Also, it's made mainly for learning purposes but if anyone is interested in using it and/or helping me to find bugs here is a link to the repository.
-
C Data Structures Library
They're all written in an abstract way using void pointers so they are applicable to any type of data and a library containing them is provided. If anyone wants to use it, provide feedblack and/or contribute to it it the repository can be found here: https://github.com/pavlosdais/Abstract-Data-Types
What are some alternatives?
bfcpp - Optimizing Brainfuck interpreter in the C preprocessor
dslib - :herb: A library of "connected" data structures
ManagedC - Reference counter for C
heap-exploitation - This book on heap exploitation is a guide to understanding the internals of glibc's heap and various attacks possible on the heap structure.
METIS - METIS - Serial Graph Partitioning and Fill-reducing Matrix Ordering
leetcode-swift - TOP 200 #Dev 🏆 LeetCode, Solutions in Swift, Shell, Database (T-SQL, PL/SQL, MySQL), Concurrency (Python3). @ S. Leschev. Google Engineering Level: L6+
hatrack - Fast, multi-reader, multi-writer, lockless data structures for parallel programming
data-structures - A collection of powerful data structures
Generic-Data-Structures - A set of Data Structures for the C programming language
sc - Common libraries and data structures for C.