miniblog.
← Back to all posts
Mar 30, 2016 at 21:18
Now that the dust is settling on ? instead of try! in Rust, there's a neat tool to automatically migrate your code:
GitHub - japaric-archived/untry: Convert `try!()` into `?`s
Convert `try!()` into `?`s. Contribute to japaric-archived/untry development by creating an account on GitHub.
Wilfred Hughes
Related Posts
Jul 4, 2015 at 10:21
Rust can automatically rewrite functions to use out pointers instead of copying data! Neat.
Google Workspace Updates: New community features for Google Chat and an update on Currents
plus.google.com/+WayneRadinsky/posts/Gd3pnWWykMo
Wilfred Hughes
Shared words: Rust, instead, neat, automatically Score: 114.4
Dec 19, 2015 at 17:56
Worried about stack overflow in recursive code? There's a Rust library that automatically moves data to the heap!
GitHub - alexcrichton/stacker: Manual segmented stacks for Rust
Manual segmented stacks for Rust. Contribute to alexcrichton/stacker development by creating an account on GitHub.
Wilfred Hughes
Shared words: Rust, automatically, code Score: 66.5
Sep 27, 2021 at 05:56
Neat cargo plugin I haven't seen before:
https://crates.io/crates/cargo-expand
`cargo expand` will expand macros so you can see the regular Rust code produced. For example, println!(); expands to this (even syntax highlighted!).
Wilfred Hughes
Shared words: Rust, neat, code Score: 63.5