LWN: Comments on "Sourcegraph: A free code search tool for open source developers (Opensource.com)" https://lwn.net/Articles/641442/ This is a special feed containing comments posted to the individual LWN article titled "Sourcegraph: A free code search tool for open source developers (Opensource.com)". en-us Thu, 11 Sep 2025 22:46:53 +0000 Thu, 11 Sep 2025 22:46:53 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Sourcegraph: A free code search tool for open source developers (Opensource.com) https://lwn.net/Articles/641489/ https://lwn.net/Articles/641489/ Ed_L. <div class="FormattedComment"> "Forgetting about Perl..." Hey - maybe this will become a trend!<br> </div> Wed, 22 Apr 2015 23:15:29 +0000 Sourcegraph: A free code search tool for open source developers (Opensource.com) https://lwn.net/Articles/641483/ https://lwn.net/Articles/641483/ scientes <div class="FormattedComment"> <font class="QuotedText">&gt; Nothing: it's the "default", and searching for things in that is like searching for a specific cup of water in the ocean. </font><br> <p> Totally. Debian code search is great, <a rel="nofollow" href="http://codesearch.debian.net/">http://codesearch.debian.net/</a> but it still doesn't understand include paths the way netbeans does. The problem with netbeans is that it eats your ram and cpu and forces you to use a "project" layout, so I don't use it, but we really need better C scope tools.<br> </div> Wed, 22 Apr 2015 22:44:26 +0000 Sourcegraph: A free code search tool for open source developers (Opensource.com) https://lwn.net/Articles/641461/ https://lwn.net/Articles/641461/ rschroev <div class="FormattedComment"> <font class="QuotedText">&gt; Also no Perl.</font><br> <p> I *knew* there was an important language I was forgetting about. Perl, yes, of course. My apologies to the Perl community :)<br> </div> Wed, 22 Apr 2015 20:54:02 +0000 Sourcegraph: A free code search tool for open source developers (Opensource.com) https://lwn.net/Articles/641457/ https://lwn.net/Articles/641457/ nix <div class="FormattedComment"> Also no Perl. I know Perl is a horror to parse and isn't cool any more, but, sheesh, it's far more widely used than *Haskell*. I don't know what their choice of languages to index is determined by, but it clearly isn't volume of available code (or, to be frank, utility).<br> <p> </div> Wed, 22 Apr 2015 20:42:20 +0000 Sourcegraph: A free code search tool for open source developers (Opensource.com) https://lwn.net/Articles/641456/ https://lwn.net/Articles/641456/ rschroev <div class="FormattedComment"> <font class="QuotedText">&gt; "C is not supported." I guess that explains the empty strchr result. </font><br> <p> From <a href="https://sourcegraph.com/">https://sourcegraph.com/</a><br> <p> "Supports 6 languages: Java, Go, Python, JavaScript (beta), Ruby (beta), Haskell (beta) … and others srclib supports." (But AFAICS srclib currently doesn't support any other).<br> <p> No C++ I can maybe understand, but no C? Seems a bit ... limited. <br> </div> Wed, 22 Apr 2015 20:38:28 +0000 Sourcegraph: A free code search tool for open source developers (Opensource.com) https://lwn.net/Articles/641455/ https://lwn.net/Articles/641455/ nix <div class="FormattedComment"> Only languages supported by srclib, which appears not to include C, C++, or any of the other stuff used by the languages in which other languages are written, or the languages in which most stuff other than web frameworks and administrative tools are written to be honest.<br> <p> I know that *lots* of stuff is written in Python and Ruby, but compare the *volume* of the stuff written in Javascript and Go to the magnitude of the stuff written in much older languages and it's clear that this tool is indexing only a small fraction of "the source code available on the web", not by any means "all". And, tbh, the stuff which really *needs* search tools is written in the older languages, because they've had time to accrete lunatic complexity and also often have very poor "language-wide" search tools: where e.g. Python has pypi, what does C have? Nothing: it's the "default", and searching for things in that is like searching for a specific cup of water in the ocean. So the things for which a search tool like this is particularly needed are specifically those things which this tool does not support. Wonderful.<br> <p> I was excited for a second -- a new Google Code Search! But it was not to be.<br> </div> Wed, 22 Apr 2015 20:37:28 +0000 Sourcegraph: A free code search tool for open source developers (Opensource.com) https://lwn.net/Articles/641452/ https://lwn.net/Articles/641452/ dskoll <p>Well, take a look at https://sourcegraph.com/github.com/Distrotech/rp-pppoe <p>"C is not supported." I guess that explains the empty strchr result. Wed, 22 Apr 2015 20:10:29 +0000 Sourcegraph: A free code search tool for open source developers (Opensource.com) https://lwn.net/Articles/641446/ https://lwn.net/Articles/641446/ scientes <div class="FormattedComment"> <a rel="nofollow" href="https://sourcegraph.com/search?q=strchr">https://sourcegraph.com/search?q=strchr</a><br> <p> nothing.....<br> </div> Wed, 22 Apr 2015 19:21:10 +0000