|
|
Subscribe / Log in / New account

Sourcegraph: A free code search tool for open source developers (Opensource.com)

Opensource.com introduces Sourcegraph. "Sourcegraph is a code search engine and browsing tool that semantically indexes all the open source code available on the web. You can search for code by repository, package, or function and click on fully linked code to read the docs, jump to definitions, and instantly find usage examples. And you can do all of this in your web browser, without having to configure any editor plugin."

to post comments

Sourcegraph: A free code search tool for open source developers (Opensource.com)

Posted Apr 22, 2015 19:21 UTC (Wed) by scientes (guest, #83068) [Link] (7 responses)

Sourcegraph: A free code search tool for open source developers (Opensource.com)

Posted Apr 22, 2015 20:10 UTC (Wed) by dskoll (subscriber, #1630) [Link] (6 responses)

Well, take a look at https://sourcegraph.com/github.com/Distrotech/rp-pppoe

"C is not supported." I guess that explains the empty strchr result.

Sourcegraph: A free code search tool for open source developers (Opensource.com)

Posted Apr 22, 2015 20:37 UTC (Wed) by nix (subscriber, #2304) [Link] (1 responses)

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.

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.

I was excited for a second -- a new Google Code Search! But it was not to be.

Sourcegraph: A free code search tool for open source developers (Opensource.com)

Posted Apr 22, 2015 22:44 UTC (Wed) by scientes (guest, #83068) [Link]

> Nothing: it's the "default", and searching for things in that is like searching for a specific cup of water in the ocean.

Totally. Debian code search is great, http://codesearch.debian.net/ 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.

Sourcegraph: A free code search tool for open source developers (Opensource.com)

Posted Apr 22, 2015 20:38 UTC (Wed) by rschroev (subscriber, #4164) [Link] (3 responses)

> "C is not supported." I guess that explains the empty strchr result.

From https://sourcegraph.com/

"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).

No C++ I can maybe understand, but no C? Seems a bit ... limited.

Sourcegraph: A free code search tool for open source developers (Opensource.com)

Posted Apr 22, 2015 20:42 UTC (Wed) by nix (subscriber, #2304) [Link] (2 responses)

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).

Sourcegraph: A free code search tool for open source developers (Opensource.com)

Posted Apr 22, 2015 20:54 UTC (Wed) by rschroev (subscriber, #4164) [Link] (1 responses)

> Also no Perl.

I *knew* there was an important language I was forgetting about. Perl, yes, of course. My apologies to the Perl community :)

Sourcegraph: A free code search tool for open source developers (Opensource.com)

Posted Apr 22, 2015 23:15 UTC (Wed) by Ed_L. (guest, #24287) [Link]

"Forgetting about Perl..." Hey - maybe this will become a trend!


Copyright © 2015, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds