News for hackers. Stuff that matters.
Re:Ask HN: How do you search large codebases before adding a... by tuankiet65 on Sunday March 27, 2022 @11:20AM (#30820909)
Whenever I work on huge codebase (think 1M+ lines of code), I always reach for Russ Cox's codesearch https://github.com/google/codesearch. It requires indexing the codebase first, which takes 15 minutes or so, but after that searches are instant.
Re:Ask HN: How do you search large codebases before adding a... by karmakaze on Sunday March 27, 2022 @12:36PM (#30821598)
I reach for Hound-search[0] (originally Etsy Houndd) that uses Russ Cox's "Regular Expression Matching with a Trigram Index"

I had even made self-serve hosting for it but didn't put much effort into monetizing or otherwise promoting it.

[0] https://github.com/hound-search/hound

Re:Ask HN: How do you search large codebases before adding a... by tuankiet65 on Sunday March 27, 2022 @01:22PM (#30822026)
Ooo yeah I think I've came across Hound before, but I don't like that the only way to interact with it is through the web UI.