3 ms·
> 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 i
by serge2k 10y ago
> 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?
- nemaar 10y ago> 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.