logoalt Hacker News

selfmodruntimetoday at 2:00 PM1 replyview on HN

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.


Replies

lunar_mycrofttoday at 2:18 PM

You can also do one by using `unsafe` liberally, especially if you're flexible about actually upholding rust's rules (as the bun team just did). But either way, you're still stuck with a code base that's going to need extensive refactoring if you want to actually take advantage of rust.

show 1 reply