As part of the collaboration between Canonical and the University of Bristol, the project will target AppArmor and snap-confine as industrial case studies. Both are critical to Ubuntu’s security posture, and provide a substantially harder test than isolated translation examples. They will help us evaluate whether the techniques can cope with the structure and constraints of mature production software.
Note that this is not a commitment to replace AppArmor or snap-confine with what is generated, rather that we have a vested interest in the software and are keen to see the results.
The most optimistic outcome would be a system capable of translating substantial C repositories into Rust with strong evidence of behavioural equivalence and relatively little manual intervention. The research could also produce better methods for decomposing repositories, stronger validation techniques, reusable translation datasets, improved program-repair tools and a more precise understanding of where automated migration stops being reliable.
IMO this rust shit is just an attempt to convert a GPL licensed ecosystem into the Corpo-CHUD preferred MIT license.
Just like with Clang, the Corpo is simply intolerably offended by being asked to contribute back to the community.
Which is exactly why you’re free to license your code under GPL. If corpos can use, then so can you.
It’s the general opinion. Except if you’re a stray liberal on lemmy.ml/c/Linux
-
Microsoft ships Ubuntu through WSL
-
Canonical is rewriting Ubuntu in Rust
-
Neither Canonical nor Rust are shy of permissive (re) licensing.
-
???
-
Profit
-
I always feel like the much bigger challenge is whether anyone can still maintain the codebase afterwards. You throw away so much institutional knowledge by doing a conversion like this…
Look at the folks in college right now, no one can or will.
They haven’t got rust-utils or rust Sudo working yet.
I don’t get why the rust cult mist always convert something from C to rust. Why not just make new software in rust and leave the stuff that works alone?
Because that would require competence.



