Cnx
A Proof-of-Concept for a Modern Standard Library for GNU C 11+ (by braxtons12)
c-iterators
:books: A demonstration of implementing a "type-safe" lazy iterator interface in pure C99 (by TotallyNotChase)
Cnx | c-iterators | |
---|---|---|
2 | 3 | |
4 | 90 | |
- | - | |
0.0 | 4.4 | |
over 1 year ago | almost 3 years ago | |
C | C | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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
Posts with mentions or reviews of Cnx.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-02.
- 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.
c-iterators
Posts with mentions or reviews of c-iterators.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-05-14.
-
Wanna have fun with Lazy Iterators in good ol' C?
Check it out on github
- A demonstration of implementing a lazy iterator interface in pure C99
-
A demonstration of implementing a lazy Iterator interface in pure C99
I was having fun experimenting with a "typeclass" implementation in C. Noticed how fun it was to implement Iterators with it, as well as utilities for the iterators, figured I'd share. Check it out at github!
What are some alternatives?
When comparing Cnx and c-iterators you can also consider the following projects:
bfcpp - Optimizing Brainfuck interpreter in the C preprocessor
website-meta-language - An old offline HTML preprocessor (which can be used for static site generation), written in Perl and C that is still maintained for legacy reasons, but probably not recommended for new sites.
ManagedC - Reference counter for C
ctl - My variant of the C Template Library
interface99 - Full-featured interfaces for C99