main

Coders, Search For Code With Google Code Search

Steven Parker   on 05 October 2006 - 12:22 · 20 comments & 7911 views

Advertisement (Why?)
Search engines for searching code bases is nothing new, but this time Google did it with Google Code Search.

Obviously, it only searches "publicly accessible source code" but there is plenty of that available. Specifically, you can search within archives (.tar.gz, .tar.bz2, .tar, and .zip), CVS repositories and Subversion repositories. There are advanced restrict functions that Google allows you to use to find your code of choice, to only search PHP you can use this command, [lang:php].

Yes, there is an API for this product and you can submit your code to the index as well. Hey, search engine optimization for your code. Outsourcing firms, you may have a niche or vertical creep strategy at your finger tips here soon.

Link to: Google Code Search
News source: Search Engine Roundtable

Post a comment · Send to friend Comments · There are 20 additional comments
#1 sorlag on 05 Oct 2006 - 12:43
Sounds interresting...
#2 DJ_Myth on 05 Oct 2006 - 12:44
Sounds useful for me.
(4 replies) #3 OfF3nSiV3 on 05 Oct 2006 - 12:46
it sucks...
if i search for bubble sort i get useless results
#3.1 markjensen on 05 Oct 2006 - 13:00
"it sucks" is your pronouncement, based on a vaguely-specified search?

Did you perhaps declare a particular language, or encapsulate the term "bubble sort" in quotes?
http://www.google.com/codesearch?q=lang%3A...2bubble+sort%22
#3.2 lbmouse on 05 Oct 2006 - 15:57
No wonder you found it useless and feel it sucks. If you're using bubble sorts, you're in the wrong section of Google. Try here instead.
#3.3 Octol on 05 Oct 2006 - 20:34
"Try here instead. "

ROFLMAO!!
#3.4 Toology on 06 Oct 2006 - 02:21
Ba-zing.
#4 NickFritz on 05 Oct 2006 - 13:00
yes the results are good but not perfect at the moment, but they should hopefully tweak it some more.
#5 Al on 05 Oct 2006 - 13:01
Nice
#6 Jugalator on 05 Oct 2006 - 13:46
Hehe, nice coindidence... I just used http://www.koders.com/
(3 replies) #7 wicker_man on 05 Oct 2006 - 14:04
Nice offer from Google.

Steven, your title sounds like some mumbo-jumbo - you have managed to use the derivatives of the words 'code' and 'search' 3 and 2 times respectively in an 8 word title. Have you ever heard of synonimity in the English language?
#7.1 Jugalator on 05 Oct 2006 - 14:12
Hmm, it looked intentional here..
#7.2 markjensen on 05 Oct 2006 - 14:19
Hmmm... It looked like the unchanged title of the original article at seroundtable.com to me!

The news posters here get beaten up if they change words. They get beaten up if they don't. Lighten up, wicker_man.
#7.3 wicker_man on 06 Oct 2006 - 07:06
Quote - markjensen said @ #7.2
Hmmm... It looked like the unchanged title of the original article at seroundtable.com to me!

The news posters here get beaten up if they change words. They get beaten up if they don't. Lighten up, wicker_man.

I am lightened up, man - it's Friday after all I have been merely pointing out the fact that it sounded like mumbo-jumbo, i.e. not particularly nice for something like a title of a news post on the front page of one of the most popular web sites. And the fact that it was nicked from somewhere else doesn't do the justice either, you know...but then again, Neowin is all about unprofessional journalism, eh?

Anyway, I have found a better post.
#8 MrA on 05 Oct 2006 - 14:57
Nice, but it would be MUCH better if they had some cross-referencing capability like LXR. A full cross-reference of all projects on Sourceforge would be amazing. And it's all OSS so no license issues
(3 replies) #9 ElectricDemon on 05 Oct 2006 - 18:48
can anyone see a delphi, or pascal option??

or am i going blind??
#9.1 Soleen on 06 Oct 2006 - 02:41
Why do you need pascal or delphi?
Use C/C++. Do you know any operating system that are written in Pascal or Delphi? If you want to do native system calls you better write in C/C++....
#9.2 BoondockSaint on 06 Oct 2006 - 05:07
Quote - Soleen said @ #9.1
Why do you need pascal or delphi?
Use C/C++. Do you know any operating system that are written in Pascal or Delphi?


Wow, thanks for the tip - I'll remember that next time I am planning to write an OS. You might want to throw some assembler into your mix too.

Quote - Soleen said @ #9.1
If you want to do native system calls you better write in C/C++....


Yeah right... I can make exactly the same system calls in Delphi as anyone in C/C++.
#9.3 MrCobra on 06 Oct 2006 - 07:38
Quote - Soleen said @ #9.1
Why do you need pascal or delphi?
Use C/C++. Do you know any operating system that are written in Pascal or Delphi? If you want to do native system calls you better write in C/C++....

How do you suppose people write Windows programs with VB, C#, X-86 Assembly, or any of the other languages available if they can't make native system calls?

Any programming language that's available for Windows can do native system calls.
#10 AresXP on 06 Oct 2006 - 01:18
Google just went up a notch, again.

Commenting has either been disabled on this article or you are not logged in. Click here to login or register, its free!

Note: Anonymous commenting is disabled in order to keep the quality of responses to a high standard.

Advertisement (Why?)