Folks, I need a hobby. I’m a C programmer who has lost his passion for programming, it seems. I’ve decided to try to spark my passion again by going back to the basics, perhaps by creating a programming tutorial Wikibook, for modern applications.

The trouble is, I cannot decide if I should make C or Rust my programming language of choice.

I use C all the time, and have barely any experience in Rust.

Do I go with ol’ reliable and risk being outdated in a few years, or go with the new language and risk being too niche and unpopular?

15 points
*

Imo Rust already has the perfect book. I would make a resource for C developers. Especially since you know C already.

permalink
report
reply
4 points

C

permalink
report
reply
6 points

Rust is definitely not new and niche anymore, its the most popular language in the StackOverflow surveys.

A C book feels dated at this point, there are very strong recommendations that C is to be phased out in favor of memory safe languages. But people have been signalling the death of C for decades, so it probably has a few more years left.

A good C book on how to write memory safe C would be useful. Its been tried many times, but newcomers to C still seem to struggle with allocation and freeing, and thread safety.

permalink
report
reply
1 point

Zig could use your help I think. Give it a look

permalink
report
reply
7 points

I’d say going with C is not a bad idea at all—I for one would be interested. C is not going to become obsolete any time soon and is an immensly useful language to be proficient in.

When I tried to learn C I felt like I’m doing everything wrong because the C-way of doing things is very different to what one is used to from more modern languages (header files, make etc). Bridging the gap between the “I can solve project euler challenges” stage and actually being able to organize and implement proper projects is difficult without a mentor, so why not share your expertise?

In the end, go with what you feel most like doing, there will be an audience either way. So pick what is most fun to you!

permalink
report
reply

Programming

!programming@programming.dev

Create post

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Community stats

  • 2.3K

    Monthly active users

  • 1.8K

    Posts

  • 29K

    Comments