rust-script looks like a neat way to use Rust for scripting. But I was coincidentally reflecting on how helpful Nix is for handling the same problem, where I want to write scripts in a compiled language, but managing builds is a lot to deal with in an ad-hoc setting. I can pair my script with a Nix expression that gets checked into either my project repo, or my Home Manager dot files, and then I don’t have to think about rebuilding on changes or on new machines.
rust-script
looks like a neat way to use Rust for scripting. But I was coincidentally reflecting on how helpful Nix is for handling the same problem, where I want to write scripts in a compiled language, but managing builds is a lot to deal with in an ad-hoc setting. I can pair my script with a Nix expression that gets checked into either my project repo, or my Home Manager dot files, and then I don’t have to think about rebuilding on changes or on new machines.