GitHub has made its code search engine Code Search generally available. Over the past two years, the platform has rewritten the underlying technology to Rust, which should make code searching much faster.
GitHub writes that GitHub Code Search has moved out of beta and is now generally available to any user of the platform. Code Search is a tool that allows users to search for specific code snippets of themselves or other developers in public repositories. GitHub also wrote a blog post about how it rewrote the search engine from the ground up to a new engine. The company calls it Blackbird.
The search engine is based on Rust. That, according to GitHub, would be more efficient than alternatives like grep, which is used for many other search engines. Rest would scale better with the amounts of code GitHub has. The search engine can do 640 queries per second and index 120,000 documents per second.
According to GitHub, the new Code Search is about twice as fast as the old search engine. The company has also added new features to it. For example, it is possible to search with regular expressions. Also, users can search for code with more syntaxes. Code Search is also designed in a different way, making it more integrated into the platform’s navigation structure.