I used to teach at KAIST and this is a great development from their CS folks -- provably correct translation from C to Rust.
https://news.kaist.ac.kr/newsen/html/news/?mode=V&mng_no=54270
I used to teach at KAIST and this is a great development from their CS folks -- provably correct translation from C to Rust.
https://news.kaist.ac.kr/newsen/html/news/?mode=V&mng_no=54270
@dougmerritt @benjamingeer @ddrake
That, and:
Refactoring semi-idiomatic Rust → idiomatic Rust is surely a far less error-prone trip than translating C → Rust.
@benjamingeer @ddrake
I haven't read it yet, but the news article points to the open access paper; at first blush they appear to care about idiomatic Rust :
Automatically Translating C to Rust
Automatic C-to-Rust translation tools are helpful, but they produce unsafe and unidiomatic code. What can be done to address these issues?
Authors: Jaemin Hong, Sukyoung RyuAuthors Info & Claims
Communications of the ACM, Volume 68, Issue 11
https://dl.acm.org/doi/10.1145/3737696
@ddrake This is very cool, but I wonder what the Rust code looks like: is it idiomatic Rust, which in many cases would require drastically changing the design of the original code? Is it something that a human would find maintainable? And (considering that it’s entirely possible to write unsafe code in Rust), is it provably safer than the original code? If not, maybe it would be better to pay human programmers to rewrite C code in Rust.
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.