TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Kythe: A pluggable ecosystem for building tools that work with code

65 pointsby aseidlover 10 years ago

10 comments

beliuover 10 years ago
Kythe seems like an awesome project, and kudos to Google for releasing this in the open.<p>For those interested in code analysis and dev tools, another library you might want to check out is srclib (I&#x27;m one of the authors). srclib is an open-source polyglot code analysis library designed for editors and code explorers. Its mission, supporting a common language-independent schema to support building better language-aware tools, is closely aligned with Kythe&#x27;s. There&#x27;s documentation and a succinct description of the problem we&#x27;re trying to solve at <a href="https://srclib.org" rel="nofollow">https:&#x2F;&#x2F;srclib.org</a>.<p>srclib currently supports Go, Java, Python, JavaScript, Ruby, Haskell, and soon PHP. There&#x27;s a simple command line API that editor plugins can call, and currently there are srclib plugins for Emacs, Sublime, and Atom. srclib also powers <a href="https://sourcegraph.com" rel="nofollow">https:&#x2F;&#x2F;sourcegraph.com</a>.<p>I&#x27;m looking forward to seeing where Kythe goes and hopefully integrating Kythe and srclib. I think this is a huge step forward toward better tools for programmers. Just ask anyone who works&#x2F;used to work at Google about the quality of their internal dev tools vs. the outside world. Thanks to the Kythe team for sharing this with the world!
评论 #8958142 未加载
mwcampbellover 10 years ago
This sounds like the Grok project that Steve Yegge described in his post about software conservatives and liberals (<a href="https://plus.google.com/110981030061712822816/posts/KaSKeg4vQtz" rel="nofollow">https:&#x2F;&#x2F;plus.google.com&#x2F;110981030061712822816&#x2F;posts&#x2F;KaSKeg4v...</a>). Anybody know if it&#x27;s the same project?<p>I think an interesting possible application of this tool would be source-to-source compilation between languages. For example, once Objective-C support is added, could Kythe be the basis for something like j2objc?
评论 #8954612 未加载
评论 #8956293 未加载
mattjover 10 years ago
What does this do? I&#x27;ve browsed through the site for a few minutes, and still have no idea what kind of tools you could build with this that you couldn&#x27;t build before.<p>Is this for cross-language doc generation? Refactoring tools? Something else?<p>Are there any concrete examples of a tool built on top of this that would otherwise be impossible &#x2F; very difficult?
评论 #8954600 未加载
评论 #8954797 未加载
padatorover 10 years ago
A similar effort by Facebook open sourced 4 years ago: (I&#x27;m one of the author) <a href="http://github.com/facebook/pfff/wiki/Main" rel="nofollow">http:&#x2F;&#x2F;github.com&#x2F;facebook&#x2F;pfff&#x2F;wiki&#x2F;Main</a> with indexers for PHP, C, Java, Ocaml, and preliminary support for many other languages.
chuckcodeover 10 years ago
Seems like most code editors these days have reached that microsoft excel point where most of the requested features are already present and it is a matter of usability and better ways to help users learn these inherently complicated tools. I&#x27;m constantly surprised at how many really bright people aren&#x27;t using their debugging and profiling tools effectively.<p>The big features I&#x27;d like to see are more around collaboration and remote execution. The ability to share, search, remotely debug a big stack easily would be great. Github has taken some big steps forward on that but I&#x27;d love wrap that up into the editor. Use cases like natively connecting to a coworker&#x27;s editor and see what is failing or review some code.
arafalovover 10 years ago
Screenshots (of UI example) would be nice.<p>Is there search built-in or planned? I see some discussion in the storage format section, but only as a negative statement.
endergenover 10 years ago
It&#x27;s not very clear at all what the vision is and how this is supposed to be used. I can make guesses, but some clarity would be great if any of the Google people involved are in this thread.
评论 #8954616 未加载
dangover 10 years ago
We changed the url from <a href="http://google-opensource.blogspot.com/2015/01/kythe-new-approach-to-making-developer.html" rel="nofollow">http:&#x2F;&#x2F;google-opensource.blogspot.com&#x2F;2015&#x2F;01&#x2F;kythe-new-appr...</a> to the canonical project page. It also links to <a href="http://www.kythe.io/docs/kythe-overview.html" rel="nofollow">http:&#x2F;&#x2F;www.kythe.io&#x2F;docs&#x2F;kythe-overview.html</a>.
justinsbover 10 years ago
This seems a much clearer overview: <a href="http://www.kythe.io/docs/kythe-overview.html" rel="nofollow">http:&#x2F;&#x2F;www.kythe.io&#x2F;docs&#x2F;kythe-overview.html</a>
评论 #8954594 未加载
ihswover 10 years ago
Seems like a complement to protobuf -- kythe describes code, protobuf describes data. Neat.