Skip to content

Comment on Lessons learned from a successful Rust rewriteparent

Comments

Are things you have learned so far transferable back to C? Can you with your new experience consider yourself a better C coder?

Not the parent poster, but in my experience - yes.

I mainly program in C++, and the past 5 years or so of writing Rust has drastically changed the way I write code (in general). Sometimes, if the problem is particularly hairy, I'll even write the code in a similar way in Rust first and then port it back to C++ after the compiler has helped me iron out my mistakes.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.