I'm rewriting a Rust function transform function from `&mut Foo` to `Foo -> Foo`. It might be a little slower, but ownership makes it harder to miss parts of the Foo type when I work with values.
Wilfred Hughes
Shared words: Rust, part, type, function
Score: 102.1
emacs-lsp: https://github.com/emacs-lsp/lsp-mode is *really* good. Every time I play with it, it's improved.
I've been playing with rust-analyzer today and everything just works: hover types, interactive code refactorings, the whole shebang.
Good news: it's super easy to add LTO to Rust projects, and only added 60 seconds to difftastic's link time:
[profile.release]
lto = true
Bad news: It only reduces the difftastic runtime by ~5%.
At least it didn't require much wrangling to try :)