Live data from Hacker News

How do you rewrite C/C++ projects to Rust?

blog.jetbrains.com

21–23 of 23 posts

Re: How do you rewrite C/C++ projects to Rust?

#22
The topic of rewrites in Rust is a difficult one.

Mostly the reasons are not of technical, but of political nature. I mean no one likes to be told that their language is "not good enough". Or "not safe enough". It is our instinct to defend what we love and have put so much time and effort into. But reality is, that Rust really helps eliminate whole classes of errors, that can happen even to the most experienced C or C++ devs.

Accepting that things will and should be rewritten in Rust - until an even better language comes along - is necessary. That does not mean that Rust needs to replace all code on earth. For sure there are many cases where it should not. But in the times of Fable and GPT 5.6, it becomes even more important to reduce any attack surface as much as possible.

Post reply on HN