News for hackers. Stuff that matters.
Re:Corrode: C to Rust translator written in Haskell by kerkeslager on Friday July 08, 2016 @04:44PM (#12058508)
I think that keeping an exact one-to-one mapping makes this tool a lot more useful. There's no telling what code depends on C idioms that would be broken by using a Rust idiom instead. Generating 100% equivalent code means that programmers can make intelligent decisions about when to switch over to Rust idioms as they continue developing the program.
Re:Corrode: C to Rust translator written in Haskell by Retra on Friday July 08, 2016 @07:16PM (#12059243)
Yeah, once you've got equivalent Rust, the rest is just optimization that should probably be implemented in the Rust compiler. No reason to put that stuff in the niche transpiler.