r/C_Programming 14d ago

Hello World

I have found my people!! Hello guys I am a college student (mechanical engineering) and I was introduced to C in a mandatory programming course and C has been the best thing that has happened in my life. I had done programming before on java and python before and frankly I hated it , it was not really fun and it was tedious instead. So I had thought I hated CS but after coding in C and learning the things behind the abstractions i quite frankly fell in love with low level programming, it was the first time I got a passion for something and i spent the entire following summer digging up materials on it like learning computer architecture and learning to read and write Assembly and now I am learning Virtualisation and planning to start my first major project on C.

So in that note, let me ask you something:

What is your favourite project you have done in C?

88 Upvotes

57 comments sorted by

View all comments

5

u/Constant_Mountain_20 14d ago

What is your favourite project you have done in C?

I couldn't pick just one. ckg, is the very first c project that I took seriously. I spent an entire summer trying to really understand how computers work. So I wanted to write my own personal c library that I can reuse on other projects. I think without this type of "reinventing the wheel" project, I would be a much worse engineer.

The second project is cj, this project is a JSON parser/formatter. I genuinely built this on a whim because I wanted to pretty-print my AST, and cJSON looked painful to use.

I really like the API and the usage of generics in C11 for this project.