Live data from Hacker News

Saved by the compiler: Parallelizing a loop with Rust and rayon

blog.faraday.io

31–33 of 33 posts

Re: Saved by the compiler: Parallelizing a loop with Rust and rayon

#31
post #4

Earlier quoted context omitted.

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.

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.)

What's difficult about it? Just use chocolatey.

Re: Saved by the compiler: Parallelizing a loop with Rust and rayon

#32
post #4

Earlier quoted context omitted.

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.

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.)

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 rayon

#33

Earlier quoted context omitted.

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.)

You can also get a Windows binary that I think should Just Work :-) https://github.com/BurntSushi/ripgrep/releases

Hooray for standalone programs!
Post reply on HN