News for hackers. Stuff that matters.
Re:If you use GNU grep on text files, use the -a (--text) op... by dilap on Wednesday April 22, 2020 @10:41AM (#22946047)
Thanks for the thoughtful response!

My own experience w/ Rust is limited to just kicking the tires implementing my favorite toy problem, but it was incredibly positive -- my solution ended up faster than my previous best (in C++) while also having extremely-straightforward, clean code.

(Something that particularly blew my mind was crossbeam_channel being (arguably) nicer than Go's built-in channels, and being able to spread work over threads w/ zero possibility of races -- that's some fuckin' cool shit.)

That experience, combined w/ observation of tools like fd and ripgrep, have convinced me that rust is actually unlocking a higher level of quality for software, at least in practice, if not in theory.

Your answer has not disabused me of the perception! :-)

> Although of course there are alternatives to ripgrep written in C or C++, so I'm not sure how compelling of an argument that is.

But they're not as good as ripgrep ;-)

Re:If you use GNU grep on text files, use the -a (--text) op... by burntsushi on Wednesday April 22, 2020 @11:26AM (#22946549)
> But they're not as good as ripgrep ;-)

I would naturally agree, but my users make that argument far better than I can. :-)