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?

  • CameronDev@programming.dev
    link
    fedilink
    arrow-up
    8
    arrow-down
    2
    ·
    26 days ago

    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.