r/AskProgramming • u/Objective-Farmer4183 • May 03 '26
Architecture When is C better than Rust?
I've seen a lot of people saying that Rust = C but more secure. Is that true? Is there any catch or something? If you've used both of these programming languages, what was your experience with each? Which ones did you prefer?
I am writing this because I still don't know in which language should I code my backend for a website, and I don't want to mess things up. I am choosing low level because I want performance and low RAM usage + I am more familiar with low level languages.
TLDR; When do you think I should rather use C over Rust and vice versa?
View all comments
Show parent comment
0
u/Objective-Farmer4183 May 04 '26
And what would you recommend for creating a library on desktop (to store games etc.)? Would C++ be a good option since it is low level and offers a lot of OS control while supporting QT widgets for the GUI? Or would it be better to use C, or any other language?