Live data from Hacker News

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

blog.jetbrains.com

11–20 of 23 posts

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

#13
1. Hop around a few rust communities and fill yourself up with full love of rust and hatred against c/c++.

2. Ignore any technical tradeoffs and considerations but solely lean on your guts and hypes on the Internet.

3. Ask Claude to rewrite the entire codebase to rust. Boom! Now you’re allowed to show off yourself on LinkedIn and HW as a super great rust engineer.

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

#15
> Disclaimer: This article was created with the assistance of AI and reviewed by the JetBrains RustRover team

Honestly there should be a filter for these types of articles. I’m not going to bother reading something another person did not even bother writing.

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

#16
I rewrote my Haskell project in Rust.

memory usage dropped to half, execution speed is now 2x. Cross deployment is easy from silicon man to x64.

There are many low level optimizations available which i can exploit, compile is super fast for my project so development experience is better.

LOC dropped to half of the original.

Rust made life so much easier :)

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

#17
post #15

> Disclaimer: This article was created with the assistance of AI and reviewed by the JetBrains RustRover team Honestly there should be a filter for these types of articles. I’m not going to bother reading something another person did not even bother writing.

"AI-assisted" != "AI-written". People who have AI write their articles entirely surely don't mention it at all.

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

#18
post #15

> Disclaimer: This article was created with the assistance of AI and reviewed by the JetBrains RustRover team Honestly there should be a filter for these types of articles. I’m not going to bother reading something another person did not even bother writing.

"AI-assisted" != "AI-written". People who have AI write their articles entirely surely don't mention it at all.

Then they should elaborate and define what "A.I.-assisted" actually means. I have no idea to be honest. Could be anything.

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

#19
With the advent of A.I. these rewrites should be Full, but the generated code should only be used as a starting point. The code should be refactored so the engineers can take responsibility for maintaining and updating it.

But I'm afraid managers will force engineers to put the generated code straight into production unaltered so they can claim their million dollar bonuses. And when things go South they'll call on those same engineers to fix things yesterday.

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

#20

Earlier quoted context omitted.

"AI-assisted" != "AI-written". People who have AI write their articles entirely surely don't mention it at all.

Then they should elaborate and define what "A.I.-assisted" actually means. I have no idea to be honest. Could be anything.

I agree. I think it's an escape hatch phrase for people to try to avoid criticism. A.I. tooling is so similar to a highly addictive drug. Users think they can control how much they use, they eventually start using so much, and eventually use the signs as any addict who cannot think for themself any longer. "I can stop using it any time. I'm not addicted. You don't know me!" It's denial at its finest. Nothing worse than somebody be believing that they're an expert at something, and again they know nothing. A.I. Should simply be deemed the Dunning-Kruger drug.
Post reply on HN