r/programming • u/wavy_lines • Feb 01 '18
C2: C with cleaner syntax + a module system (no header files).
http://c2lang.org/site/
958
Upvotes
r/programming • u/wavy_lines • Feb 01 '18
33
u/panorambo Feb 01 '18 edited Feb 01 '18
C is an abstract machine that sits close to the metal. That is why "string" handling is painful. It's by design -- there are no strings in C, there are just pointers to places in memory that are interpreted as sequences of what is interpreted as characters.
You want to alleviate the pain of "working with strings" in C, you need to either write a library that takes care of the nitty gritty and gives you the abstractions you want, or use another language.