logoalt Hacker News

lunar_mycrofttoday at 1:34 PM1 replyview on HN

Except that writing safe rust often requires designing the architecture around rust's ownership model, meaning a file by file, line by line translation doesn't necessarily leave you much closer to safe rust than you were at the start.


Replies

selfmodruntimetoday at 2:00 PM

This is untrue. You can do a file by file translation by using clone and copy liberally. After you're done, you can incrementally introduce borrowing.

show 1 reply