←back to thread

Introducing tmux-rs

(richardscollin.github.io)
857 points Jtsummers | 1 comments | | HN request time: 0s | source
Show context
cchance ◴[] No.44458015[source]
Next step slowly porting unsafe code to safe rust? lol
replies(1): >>44459060 #
1. FullyFunctional ◴[] No.44459060[source]
why is that funny? I’ve done exactly this (in a processional setting): c2rust to get something functional and then incrementally rewrote the code while producing unit tests (approval tests via insta are particularly handy). The end result was a codebase which was much easier to maintain, with much better tooling and tests.