News for hackers. Stuff that matters.
Re:Corrode: C to Rust translator written in Haskell by serge2k on Friday July 08, 2016 @01:11PM (#12057041)
> Partial automation for migrating legacy code that was implemented in C. (This tool does not fully automate the job because its output is only as safe as the input was; you should clean up the output afterward to use Rust features and idioms where appropriate.)

This was my immediate concern. Is there any chance this tool can produce anything close to clean, safe, idiomatic, rust code?

Re:Corrode: C to Rust translator written in Haskell by nemaar on Friday July 08, 2016 @01:18PM (#12057117)
> Is there any chance this tool can produce anything close to clean, safe, idiomatic, rust code?

That is generally not possible, unless the C code only uses specific patterns known by the converter tool. That's very unlikely, considering that people write C code to be 'quick' and usually use all kinds of tricks.