top | item 44463823

(no title)

ga_to | 8 months ago

But it's _not_ c2rust. It started that way but this approach was abandoned in favor of a manual port. From the comment you replied to: > The decision to throw it all away and do a manual port, while surely gut-wrenching, was the right call. You just can't automatically translate the intent of the original C code into safe, idiomatic Rust.

From the second paragraph of TFA: > I threw away all of the C2Rust output and decided I would translate all of the files into Rust manually from C.

Please at least read the source before shit-talking it.

discuss

order

johnisgood|8 months ago

[deleted]

ga_to|8 months ago

I usually don't comment because I am fine with reading stuff on here during my breaks and don't engage in discussions. Your poo-pooing of a hobby project that has no ambitions of being enterprise grade really rubbed me the wrong way though. If it brings you joy to call me a bot, go ahead though.

OneDeuxTriSeiGo|8 months ago

The author literally said they were not aiming for idiomatic rust. They were focusing on translating as directly from C to Rust as possible.

If you still think they are using a transpiler rather than doing rote hand translation, please point out some specifics.