sgc
C
sgc | C | |
---|---|---|
3 | 5 | |
32 | 18,084 | |
- | 0.7% | |
4.3 | 4.9 | |
9 months ago | 15 days ago | |
C | C | |
MIT License | GNU General Public License v3.0 only |
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.
sgc
- Show HN
-
Generic C Library
Much thought was given to this problem. C++ templates are inline by default so they do not have this issue, but they also do not generate any functions which are not called. That is not the case for my library, every function will be generated even if you do not need it. I did that for all the functions for primitive types here.
C
- what resources do you recommend for learning C ?
-
My Favorite Language has Changed to PHP
C: https://github.com/TheAlgorithms/C/blob/master/sorting/merge_sort.c
-
Prime numbers program with if else?
prime.c
- Are there any websites or books that shows optimal solutions for solving algorithms using C?
-
Algorithms by Jeff Erickson (Free algorithms textbook)
I like the awesome-algorithms link, but some of the code linked is definitely not perfect. A few questionable things from one of the header files [0] in https://github.com/TheAlgorithms/C:
- Defines a macro with no parentheses
- Uses unsigned for length and capacity (should be size_t)
- Uses () instead of (void) for an empty parameter list
- Useless use of "extern" for function declarations
- I think that leading double underscores and structures ending with _t are reserved identifiers, but I don't really have a good source for this
[0]: https://github.com/TheAlgorithms/C/blob/master/data_structur...
What are some alternatives?
STC - A modern, user friendly, generic, type-safe and fast C99 container library: String, Vector, Sorted and Unordered Map and Set, Deque, Forward List, Smart Pointers, Bitset and Random numbers.
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
Collections-C - A library of generic data structures for the C language.
C-Sharp - All algorithms implemented in C#.
stc - Speedy TypeScript type checker
Dart - All Algorithms implemented in Dart
sc - Common libraries and data structures for C.
julia - Simple fractal drawing software
JavaScript - Algorithms and Data Structures implemented in JavaScript for beginners, following best practices.
awesome-algorithms - A curated list of awesome places to learn and/or practice algorithms.
Java - All Algorithms implemented in Java
CCV - C-based/Cached/Core Computer Vision Library, A Modern Computer Vision Library