this post was submitted on 11 Mar 2025
162 points (100.0% liked)
Linux
6659 readers
101 users here now
A community for everything relating to the GNU/Linux operating system
Also check out:
Original icon base courtesy of [email protected] and The GIMP
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Yeah. I prefer rust but I defiantly had a far easier time learning c and apply my existing programming knowledge. Getting my head around the borrow checker was one hell of a pain in the ass.
The thing is that "learning C" means "I can write C code that compiles and might be full of bugs", whereas "learning Rust" means "I can write Rust code that compiles and has a small number of bugs". It's not apples-to-apples.
It's like saying "I found it easier to learn primary school maths than I did to learn a physics degree".
What specifically was difficult to understand about the borrow checker? Much of what the borrow checker requires you to do are things that you still need to do in C just without compiler support.