TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Code Search at Google: Han-Wen and Zoekt

170 点作者 intrepidsoldier超过 1 年前

6 条评论

j2kun超过 1 年前
IIUC, the main thing that Google's internal codesearch does that makes it superior to external systems (outside of an IDE, like GitHub code search) is that Google actually builds everything, and so it can incorporate that information into its index. There's only so much text search can do when you have macros generating code.
评论 #38367901 未加载
评论 #38368196 未加载
评论 #38377487 未加载
JohnMakin超过 1 年前
I didn&#x27;t start my tech journey til late 00&#x27;s, so it&#x27;s constantly surprising to me that something as ubiquitous as git only came out in <i>2005</i>.<p>Is it possible at all this story helped spur the widespread adoption of git (the early implementation of this tool)?
评论 #38369187 未加载
评论 #38368809 未加载
评论 #38368670 未加载
评论 #38369183 未加载
frutiger超过 1 年前
I’m a bit confused as to how <a href="https:&#x2F;&#x2F;swtch.com&#x2F;~rsc&#x2F;regexp&#x2F;regexp4.html" rel="nofollow noreferrer">https:&#x2F;&#x2F;swtch.com&#x2F;~rsc&#x2F;regexp&#x2F;regexp4.html</a> isn’t mentioned at all.
评论 #38368274 未加载
评论 #38370511 未加载
评论 #38369021 未加载
tromp超过 1 年前
Wondering how this tool got named after the Dutch verb for seek, I found this quote on its github page [1].<p>&gt; &quot;Zoekt, en gij zult spinazie eten&quot; - Jan Eertink<p>&gt; (&quot;seek, and ye shall eat spinach&quot; - My primary school teacher)<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;sourcegraph&#x2F;zoekt">https:&#x2F;&#x2F;github.com&#x2F;sourcegraph&#x2F;zoekt</a>
评论 #38376200 未加载
评论 #38374079 未加载
jeffbee超过 1 年前
Is Zoekt actually in use at Google and if so how does it related to Kythe? I know the Zoekt instance for Bazel exists, but the Kythe index also exists (<a href="https:&#x2F;&#x2F;cs.opensource.google&#x2F;bazel&#x2F;bazel" rel="nofollow noreferrer">https:&#x2F;&#x2F;cs.opensource.google&#x2F;bazel&#x2F;bazel</a>)
评论 #38367489 未加载
评论 #38370887 未加载
IshKebab超过 1 年前
The same algorithm is also used in Hound (<a href="https:&#x2F;&#x2F;github.com&#x2F;hound-search&#x2F;hound">https:&#x2F;&#x2F;github.com&#x2F;hound-search&#x2F;hound</a>) though I have to say the best implementation of code search by far that I&#x27;ve seen is <a href="https:&#x2F;&#x2F;grep.app" rel="nofollow noreferrer">https:&#x2F;&#x2F;grep.app</a><p>You really should check it out if you haven&#x27;t already. It&#x27;s incredibly useful; I used it all the time. Not open source though.