ZDNet UK


Skip to Main Content

ZDNet.co.uk - Winner of Best Business Website 2007
  1. Home
  2. News
  3. Blogs
  4. Reviews
  5. Prices
  6. Resources
  7. Community
  8. My ZDNet

 

ZDNet UK RSS Feeds


IT Jobs

Network management Toolkit

Google gives developers code-search capabilities

Martin LaMonica CNET News.com

Published: 05 Oct 2006 09:50 BST

  • Email
  • Trackback
  • Clip Link
  • Print friendly
  • Post Comment

Google is taking its search expertise to one of its favourite audiences: software developers.

On Thursday the company is expected to launch a Web site, Google Code Search, which the company says will let programmers search billions of lines of code.

The service, conceived by the Google Labs early technology group, will crawl publicly available code, most of which is made available through open source projects. The search and indexing can cover code on Web pages as well as code that resides in compressed files, said Tom Stocky, a product manager at Google.

Google expects that the search engine will be used primarily as a learning tool to help students and serious programmers, rather than a way to find and copy another person's code.

"Most of the code is open source so you can reuse it. But I don't think that's the primary use — it's more about how to learn about things and, when you're building open source packages, to make sure you doing it the right way," Stocky said.

For example, a developer may need to write a function as part of an application and search the Web to see other examples.

Google engineers, many of whom participate in open source projects, already use these code-searching capabilities internally. Since it is a Google Labs project, the company is not yet seeking to monetise searches through ads, Stocky said.

The search engine will allow people to do both keyword search and "regular expressions", which allow people to search a specified pattern, he said. For example, a person could narrow search to JavaScript functions, which will help find more examples, Stocky said.

As it does with many of its services, Google will release an application programming interface (API) to create an XML feed based on a specific query.

Although it doesn't sell programming tools, Google has an active developer outreach programme and relies on third-party programmers to enhance its services.

For example, developers have created popular mashup applications that display information from one Web site using its Google Maps service.

"More and more (the developer community) is the way Google products are getting to scale. We think developers can really improve Google products and use Google technology to improve their own products," he said.

  • Email
  • Trackback
  • Clip Link
  • Print friendly
  • Post Comment

Did you find this article useful?
427 out of 557 people found this useful


Full Talkback thread

0 comments

Company/Topic Alerts

Create a new alert from the list below:





Featured Talkback

Could it be that ISP’s are making this out to be a bigger problem than it actually is? We’re a small country with an internet penetration of less than 60%, for every Youtuber there’s someone who only uses the internet to check their emails, more people surf on their mobile handsets than a few years ago. Surely things should even themselves up.

By: harpless

Read full story:
Unlimited-broadband offers to go 'within a year'

On The Road Blog

Acer Aspire One price drops

Of the currently available netbooks (although more are on their way soon), the Acer Aspire One is, IMHO, the coolest - it looks more idiosyncratic than its rather more mini-me brethren,... More

Post a comment

Wallet Phones Are Coming:Visa Should J...

Wallet Phones Are Coming:Visa Should Jump On Board Author: Eric Everson, Founder MyMobiSafe.com I have touched on the subject of wallet phones (a mobile handset capable of eliminating... More

Post a comment

Mobile Networks Threatened - DEFCON Ha...

Mobile Networks Threatened - DEFCON Hackers Could Help Author: Eric Everson, Founder MyMobiSafe.com If you are worth your weight in code, you know that the “hot spot” this month... More

Post a comment