Google Code Search
It really seems that Google is on fire. It has definately taken search engine’s utility to a new level. Google Labs has got a new beta tool in its arsenal – ‘Google Code Search‘.
Developed by Russ Cox Google Code crawler gives programmers a single place to search publicly accessible source code. It includes:
- Support for precise searches using regular expressions
- Restricts by language, license, or filename with advanced operators
- A search index that includes billions of lines of code
Code Search crawls and indexes publicly hosted archives (.tar.gz, .tar.bz2, .tar, and .zip) and CVS and Subversion repositories, making them searchable in one place. Results are also accessible via a GData feed, which people will use to create plugins for their favorite editors and IDEs.
A nice tool. Shows Google’s innovation and an old habit to create probable issues. Frankly, this tool is a boon for those programmers. Helps to locate variables, comments, refrences all at one place. Infact, it was due to this tool, that I came to know about specific virus called as Tchernobyl/SpaceFiller. Infact the most surprising thing was that I found this refrence in a code snippet from the Mplayer software. (For n00bs – Mplayer is a popular audio/video software natively available under GNU/Linux systems, and has the ability to play almost every media format).
So many times I went through Mplayer source code, but it was honestly impossible to find this thing.
Its stunning..but only for the right audience.
Google criticizers can raise following points.
1. An easy way for script kiddies to find a virus code rather easily. More access means more convinience to find code and create(or rather steal) malware and cause nuisance.
2. Google may have unknowingly crawled proprietery source code, not intended to be released to the common public.
3. What about the cache?
The answers loom large ahead of us, but it will apparently become more clear after some days. Till then..Enjoy Google.. 😉