alt.hn

4/2/2026 at 3:45:22 AM

The future of code search is not regex – 100x faster than ripgrep

https://fff.dmtrkovalenko.dev/

by neogoose

4/2/2026 at 5:04:14 AM

I ran across this fascinating tool a few days ago researching embedding models on hugging face.

Advertised as "ColGREP Semantic code search for your terminal and your coding agents",

I haven't put it in any harness yet but I probably should.

https://github.com/lightonai/next-plaid/tree/main/colgrep

I've also tried astgrep (also known as sg) but llms really mess up on them. I think you'd need to fine tune.

If anyone has cracked that case I'd love to hear about it

by kristopolous

4/2/2026 at 7:25:16 AM

The future is lack of scrolling on mobile, and scanning getting stuck, apparently.

by wiseowise

4/2/2026 at 9:06:53 AM

You don't miss much, don't worry, it also looks horrible on desktop.

by narinciye

4/2/2026 at 6:14:45 AM

considering that ripgrep has marginal overhead over just reading the files to /dev/null, how exactly does this achieve 100x speedup?

I have a lot of use for something that can search ~1GB of text "instantly", but so far nothing beats rg/ag after the data has been moved into RAM.

by genewitch

4/2/2026 at 6:19:00 AM

The trick to optimization is not "doing faster" but "doing less". I already feel rg is missing a ton of results I want to see because it has a very large ignore list by default.

by anilakar

4/2/2026 at 8:44:44 AM

The crate says it uses SIMD, but the crate also says that content search is 20-50 times faster. Maybe the guy unsure how fast it is or how much speedup he should claim to get recognition.

by Yokohiii

4/2/2026 at 10:29:01 AM

I saw this yesterday it claims it's faster than Ripgrep, it uses regex and rg : https://github.com/erogol/ngi.

by JoeDohn

4/2/2026 at 9:23:57 AM

To save people the digging, here's the git repo:

https://github.com/dmtrKovalenko/fff.nvim

"FFF stands for freakin fast fuzzy file finder (pick 3) and it is an opinionated fuzzy file picker for your AI agent and Neovim. Just for file search, but we do the file search really fff well.

FFF is a tool for grepping, fuzzy file matching, globbing, and multigrepping with a strong focus on performance and useful search results. For humans - provides an unbelievable typo-resistant experience, for AI agents - implements the fastest file search with additional free memory suggesting the best search results based on various factors like frecency, git status, file size, definition matches, and more."

by austinjp

4/2/2026 at 10:29:35 AM

So the repo builds:

- C library - neovim plugin - MCP server

But not a plain binary, which is the main way ripgrep is directly used (...at least by humans), and compared with.

by adrian17

4/2/2026 at 8:53:40 AM

Where can I find the benchmark for the "20-50 times faster than ripgrep" claim from the documentation, or the "100x faster" claim from the HN submission title?

Ripgrep already has optimizations for regex which don't contain any patterns (or even just regex which contain such substrings). So "not regex" shouldn't be what makes the difference.

by CodesInChaos

4/2/2026 at 3:45:22 AM

I have open sourced the fastest code search implementation. Comprehensive SDK for both file finder and grep file search that is over 100x faster than ripgrep

by neogoose

4/2/2026 at 5:43:36 AM

I don't get this submission title. Your tool uses regex but the title claims the future is not about regex.

by siva7

4/2/2026 at 6:35:17 AM

I think it is about input. Before I had to type regex, now I just type text and fuzzy finds more, regex style. Awkward wording, but code seems cool.

by molszanski

4/2/2026 at 4:10:20 AM

This looks cool!

You should add a link to the GitHub repo for the project itself, at first I wasn't even sure what it was called.

I found this link https://github.com/dmtrKovalenko/fff.nvim

by MaxMonteil

4/2/2026 at 9:07:53 AM

k, but what actually are you talking about?

by jcgrillo

4/2/2026 at 6:58:17 AM

It has never been ripgrep for decades for those of us on IDEs.

by pjmlp

4/2/2026 at 8:35:08 AM

However, it's coming up on a decade (8 years) of vscode using ripgrep behind the scenes.

by kzrdude

4/2/2026 at 8:39:17 AM

A programmer's editor. However with the right plugins, you get the same IDE capabilities for code searching in Java, C#, C++,...

Which basically runs an IDE headless (Eclipse, Netbeans, VS services,...), the joy of running an IDE + Electron, get to put those cores to use.

by pjmlp

4/2/2026 at 8:32:36 AM

Has there been a general gentle decline in IDEs over the past 15 years or is it just me?

by gzread

4/2/2026 at 8:36:19 AM

Maybe for a generation that has learnt to program with IDE poorly supported languages.

by pjmlp

4/2/2026 at 9:00:22 AM

Zed has made me rethink this opinion.

by vovavili

4/2/2026 at 6:40:59 AM

Is there a write up of the underlying approach? The summary on the repo mentioned SIMD, but not a whole lot else.

by swiftcoder

4/2/2026 at 6:33:31 AM

I don't get it how can I search anything but the file name?

by asdfadsfaf

4/2/2026 at 8:35:22 AM

I've entered "bazel" and got `shellPrefix.ts` which doesn't relate to bazel in any way.

If that's the future then I'll stay in the past with ripgrep.

by self_awareness

4/2/2026 at 8:57:02 AM

It's O(1) with a correctness of O(0)

by _blk

4/2/2026 at 7:31:08 AM

Why do all vibecoded sites look the same? Same black on neon vibes and button styles

by hugodan

4/2/2026 at 6:37:08 AM

ctags, GNU Global and even "ugrep -Q" would like to have a few words with you ;)

by dig1

4/2/2026 at 6:05:58 AM

Why is it "for neovim"? Surely such a thing would be useful in many applications?

by globular-toast

4/2/2026 at 6:21:46 AM

Because it's being dishonest from multiple angles.

- it has regex, so the title is weird - it definitely wouldn't be 100x faster than rg - its an sdk, so its apples to oranges anyway

by ramon156

4/2/2026 at 5:24:07 AM

How's it work? Embed tokens and use euclidean distance or something?

by schrodinger

4/2/2026 at 9:06:58 AM

what even is this

by jcgrillo

4/2/2026 at 7:05:36 AM

Websites that don’t tell me what they’re doing are infuriating. I’m on mobile. This landing page experience is awful.

by forrestthewoods

4/2/2026 at 8:20:42 AM

For desktops it's not different.

by stunpix

4/2/2026 at 8:46:53 AM

[dead]

by hyperlambda