News for hackers. Stuff that matters.
Re:DARPA: Translating All C to Rust (Tractor) by 01HNNWZ0MV43FF on Tuesday July 30, 2024 @12:21PM (#41110876)
Can't most c++ be machine-lowered to C?
Re:DARPA: Translating All C to Rust (Tractor) by woodruffw on Tuesday July 30, 2024 @12:28PM (#41110974)
Lowering is typically easier than lifting (or brightening). When you lower, you can erase higher-level semantics that aren't relevant; when you lift, you generally want to compose lower-level program behaviors into their idiomatic (and typically safer) equivalent.
Re:DARPA: Translating All C to Rust (Tractor) by pjmlp on Wednesday July 31, 2024 @02:34AM (#41116844)
Yes, that is after all how C++ started.

How good the resulting performance would be like, that is another matter.