u/seeder1694

How to re-learn C?

Hey guys, I'm a graduate now. Just completed my B.Tech in CSE. Had a c language course in my first semester. I always liked c but couldn't move out of dsa and see how it is used in daily life. Then I later got to know there are complete operating systems running on just c. I later got curious and wanted to read the code and contribute to it. But the major issue is it feels like a xomplete different world when compared to the c I was introduced to. So wanted to ask the community, How to re-learn C?

Please suggest books or lectures or tutorials that let me understand the c we use to build things.

Thanks in advance.

reddit.com
u/seeder1694 — 16 hours ago
▲ 18 r/rust

Back when I was an undergrad, I had just learned C and wanted to learn C++ next. But I never really continued with it because of the small differences between them that kept annoying me. Things like taking input and printing output felt different for no reason to me, especially when C code could still work in C++. I didn’t dislike C++, I just couldn’t get comfortable with it at that time.

Later, after taking a compiler design course, I started getting interested in low-level systems and how things work underneath. While browsing around, I came across Rust and also read about why the language was created. That made me curious enough to try it.

I also have a strange habit of judging languages by how their hello world program looks. If it feels simple and clean, I usually end up exploring the language more seriously. Rust somehow gave me that feeling.

After learning it for a while, I started liking concepts like shadowing, ownership, and borrowing. They felt new at first, but slowly they changed the way I thought about writing programs and handling memory.

Now I want to build a proper Rust project that I can actually use often instead of making something that I forget about after a few days.

reddit.com
u/seeder1694 — 14 days ago