Re:Saved by the compiler: Parallelizing a loop with Rust and...
by dkastner on Thursday October 20, 2016 @09:50AM
(#12752136)
A huge payoff that Rust provides vs Ruby or JavaScript is when writing development tools. It saves so much time and trouble to install a binary than to try and get someone to download the right version of Ruby, gem install, etc. Rust, while having its tax, is really great about telling you why your code won't compile and keeping you from footgunning yourself.
[ Parent
| on HN ]
Re:Saved by the compiler: Parallelizing a loop with Rust and...
by chrismorgan on Thursday October 20, 2016 @12:43PM
(#12753900)
Trying to get ack or ag working properly on Windows is a bit of a pain. Now there’s an equivalent in Rust, rg, and I can get something that’s mostly superior to these others with `cargo install rg`. (OK, so I had to have installed Rust first. But I had done that.)
Re:Saved by the compiler: Parallelizing a loop with Rust and...
by burntsushi on Friday October 21, 2016 @07:08AM
(#12759455)
You can also get a Windows binary that I think should Just Work :-) https://github.com/BurntSushi/ripgrep/releases
Re:Saved by the compiler: Parallelizing a loop with Rust and...
by chrismorgan on Tuesday October 25, 2016 @01:44PM
(#12789944)
Hooray for standalone programs!
Re:Saved by the compiler: Parallelizing a loop with Rust and...
by bluejekyll on Thursday October 20, 2016 @10:25PM
(#12757761)
You always have to install something or it must exist first. Node, FCC, clang, Ruby, Python... you just need to think of rustup as the the equivalent of getting you rust compiler environment setup.
Re:Saved by the compiler: Parallelizing a loop with Rust and...
by eridius on Thursday October 20, 2016 @05:15PM
(#12756236)
There does not appear to be a crate called "rg". Are you perhasp referring to https://crates.io/crates/ripgrep?
Re:Saved by the compiler: Parallelizing a loop with Rust and...
by GolDDranks on Thursday October 20, 2016 @06:24PM
(#12756700)
He definitely is, it's just that "rg" is the binary that compiling ripgrep produces.
Re:Saved by the compiler: Parallelizing a loop with Rust and...
by chrismorgan on Thursday October 20, 2016 @11:54PM
(#12758038)
Whoops, yep. `cargo install ripgrep`.