Ubuntu series: Meet the Maintainers: the mind behind ripgrep - Andrew Gallant’s blazing-fast search tool

I saw this on Facebook and thought it was pretty interesting. It’s a short interview with the person that created ripgrep. This is one of the “new” Rust based alternatives to traditional Linux commands like grep, top, etc.

5 Likes

Like the part where someone thought ripgrep was RIP (rest in peace) grep.

I don’t use grep very often. I suppose I don’t often have a need for it.
The one exception is searching the journal log. I found grep was very nice tool when I was looking for something in, or extracting a portion from, the log.

4 Likes

I cant type that many letters without a mistake.
What happened to 2 letter command nanes?
`alias rg=“ripgrep”

This thing is supposed to be fast, but it could never make up for the time wasted typing excess letters.

3 Likes

Ripgrep (rg): Fast, Developer-Friendly Search

The package is called ripgrep, but the command you’ll use is simply rg.

:key: Why it’s fast and useful

  • Multi-threaded performance – written to take advantage of multiple CPU threads
  • Skips binary files – avoids clutter from non-text matches
  • Respects ignore files – automatically honors .gitignore, .ignore, and .rgignore if present
  • Recursive by default – searches through directories without needing extra flags

:gear: Flexible defaults

All of these behaviors can be overridden, but ripgrep’s defaults are tuned for most users, making it a powerful drop-in replacement for grep in everyday workflows.

4 Likes

Maybe I could rewrite it in C?

2 Likes

I suppose a person could, but why would you?

1 Like

I was being sarcastic.
It is OK to re-implement a C programmer’s ideas in Rust
but it is not OK to reverse-implement a Rust programmer’s ideas in C

Perhaps we could start a movement to reprogram all the kernel Rust contributions in C?

3 Likes

:smiley:
I even have trouble with 4 letter commands!

Hence why my aliases for grep look like this :

╭─x@titanii ~  
╰─➤  gerp grep ~/.zshrc
alias gerp="grep"
alias Grep="grep"

“Grep” because it usually follows a “|” pipe and I’ve still got Shift pressed down :smiley: *

I don’t want to add more aliases for an even longer command!

* and on the subject of “|” - I LOATHE how TermUX doesn’t have “|” - I have to hunt around for it on the Android keyoard OSK… PITA! It’s got “-” and “/” plus Ctrl and Tab - but not “|”

3 Likes

Pipes work in Termux… but yes it needs a special key like Ctrl has.

2 Likes

Yeah - I’m aware they work - but finding the key is a PITA… It’s 3 layers deep…

Keyboard, Symbol (“!#1"”, 2nd set of Symbols (“1/2”)… and it’s not logical where it is even then, 2nd row 4th button from left…

I use “|” way more than I’d ever us PGUP or PGD, or even HOM or END…

3 Likes