Hi folks,Is there a groups post or documentation page somewhere giving an overview of Kythe? I'm a Xoogler, particularly interested in the answers to the following questions:
- How does Kythe compare to grok?
- How does Kythe compare to codesearch?
- How is Kythe related to grok and codesearch? Clearly it's not the same thing, because it looks like it only supports a couple of languages, whereas the internal tools understood many.
- Is there a documentation page listing supported languages and their status? I see things like "and (soon) Go" scattered around, but I've no idea if that's up-to-date.
- Kythe.io lists Indexers for C++ and Java, but an extractor for Go. What does it even mean to be able to extract for a language you can't index?
And the big one:I'd like to set up something here at Square that allows you to browse all our source code: Protos, Java, Ruby, Go, ObjectiveC/Swift, Kotlin. I'd like all the types and symbols to be clickable and indexed. Basically, I want the Google-internal codesearch, but in a box. :-) Is Kythe that? Or part of that? Or could it power that?
Thanks for your time, and sorry for the litany of questions: hopefully the fact that I as a recent Xoogler couldn't figure out the answers is useful information, and will lead to better docs.
Hi, Zellyn,Well, it's been a while, but the short answer to your first question is: Yes. I left Google in 2018, but before I did we managed to get the internal indexing stack at Google fully converted to Kythe.Unfortunately, I was never able to sell the idea to upper-management, that Google should be doing this as a service, so despite that conversion it remains mostly a curiosity outside Google. The one place you can get Kythe results is on https://cs.opensource.google/, which is a kind of progress, I suppose. I have moved on to other things, and I do not expect Kythe to ever amount to much outside Google.I don't know how GitHub's indexing works internally, so I can't really answer how it compares. I will say, though, that the quality and coverage of the existing GH cross-references is pretty poor. On that basis, I am pretty sure they are not taking the Kythe approach. Having said that, I saw that GitHub is working on a new search product that seems to be closer to CodeSearch. I signed up for the developer preview, but all I know right now is what's on the announcement. Based on that, I don't expect they are doing "real" semantic indexing. That said: Once you have a good CodeSearch, that's a logical next step, and they definitely are well-positioned for it.Sourcegraph uses a Kythe-like approach, but most of their indexing is search-based. Individual customers can opt in to semantic indexing, which—at least as of the last time I looked—was implemented by custom indexers emitting data in LSIF format. (This is consistent with other parts of the Sourcegraph stack, which were historically heavily VSCode & Language Server based; even as they've evolved away from LS specifically a lot of that history remains). Having said all that, my knowledge of Sourcegraph isn't very current—I did a brief stint at the company in 2020, but haven't looked recently.I'm sorry I don't have more satisfying answers for you. I miss Grok all the time, but I don't foresee having it in my workflow again anytime soon.Kind regards,–M
--
You received this message because you are subscribed to the Google Groups "Kythe" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kythe+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kythe/dfbf4377-bfc3-41f0-ba02-d5d797f3ee87n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kythe/CAMQ7dq5ODB6dd5dzW-fqCNRKFeaPUx1MHqMJRf%2BHx-Ue7Brm9w%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kythe/CAMQ7dq7hkVD4O5-j8kwHENZbi9-05Vacn4g4%2BWN5yktdXdKPOg%40mail.gmail.com.
| Google Software Engineer
Hi, Zellyn,Well, it's been a while, but the short answer to your first question is: Yes. I left Google in 2018, but before I did we managed to get the internal indexing stack at Google fully converted to Kythe.Unfortunately, I was never able to sell the idea to upper-management, that Google should be doing this as a service, so despite that conversion it remains mostly a curiosity outside Google. The one place you can get Kythe results is on https://cs.opensource.google/, which is a kind of progress, I suppose. I have moved on to other things, and I do not expect Kythe to ever amount to much outside Google.I don't know how GitHub's indexing works internally, so I can't really answer how it compares. I will say, though, that the quality and coverage of the existing GH cross-references is pretty poor. On that basis, I am pretty sure they are not taking the Kythe approach. Having said that, I saw that GitHub is working on a new search product that seems to be closer to CodeSearch. I signed up for the developer preview, but all I know right now is what's on the announcement. Based on that, I don't expect they are doing "real" semantic indexing. That said: Once you have a good CodeSearch, that's a logical next step, and they definitely are well-positioned for it.Sourcegraph uses a Kythe-like approach, but most of their indexing is search-based. Individual customers can opt in to semantic indexing, which—at least as of the last time I looked—was implemented by custom indexers emitting data in LSIF format. (This is consistent with other parts of the Sourcegraph stack, which were historically heavily VSCode & Language Server based; even as they've evolved away from LS specifically a lot of that history remains). Having said all that, my knowledge of Sourcegraph isn't very current—I did a brief stint at the company in 2020, but haven't looked recently.I'm sorry I don't have more satisfying answers for you. I miss Grok all the time, but I don't foresee having it in my workflow again anytime soon.Kind regards,–M
On Thu, Dec 16, 2021 at 6:42 AM Zellyn <zel...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "Kythe" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kythe+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kythe/dfbf4377-bfc3-41f0-ba02-d5d797f3ee87n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Kythe" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kythe+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kythe/CABYkvahrqp48BNsVss0y94nH%3DSVJFVGuKLjJUqw3tTfk8HW7%3DQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kythe/CANeWHAhkHq9zT%2BTVBgqGvq0g8-gxNHA3T0NiT4fKHpdR0-OQOg%40mail.gmail.com.