4 ms·
One important piece of context that might make all these stories less confusing for non-googlers: Code references are less important inside Google editors, bec
by materielle 5mo ago
One important piece of context that might make all these stories less confusing for non-googlers:
Code references are less important inside Google editors, because we have a code viewer tool inside the web browser.
Most people read, explore, follow references, and share permalinks to the view-only tool. It’s a lot better than viewing code in GitHub. It’s super fast, is connected to language servers and can actually trace referenced, and overall has a million little features optimized for reading code.
We also have a code reviewer tool, and a separate tool to run and view CI runs.
So what’s left for the editor? Syntax highlighting?
I would tend to view code, run tests and CI, and review in separate tools specialized for their specific use case. The code editor was just a place where I would type in my changes.
I’d imagine this workflow feels weird to people who learned in one-stop-shop IntelliJ and GitHub world. But I can’t emphasize how much better these other tools were compared to GitHib. So a code editor that also lets me read, review, and test code didn’t really matter for me when I had a collection of smaller tools specialized for each individual task.
- richardboegli 5mo agoWhat tools available to the public would you say is similar to this workflow?
- spwa4 5mo agoThe only thing remotely close is a monorepo checkout ... with all the problems that come with that.
- hollowcelery 5mo agoSourcegraph is the closest external thing I've found to Google's internal web tool for viewing code.
- steveklabnik 5mo agoThe startup I'm at (ersc.io) is working in this space (version control more than the IDE side of things), because, in my opinion, there just plain isn't any.
- yencabulator 4mo agoFWIW your website is broken in both Firefox and Chrome. Huge rounded black boxes, social media icons larger than the screen, e.g. blog posts get 404 with an XML NoSuchKey error.
- fragmede 5mo agohttps://github.com/jhuangtw/xg2xg https://github.com/jhuangtw/xg2xg has a broader list
- MarkSweep 5mo agoTo make this more concrete, the Chromium source code browser has a subset of the functionality of the internal Code Search tool. For example, you can left click on symbols to go to reference and right click to find all references: https://source.chromium.org/chromium/chromium/src/+/main:ipc/ipc_message.h https://source.chromium.org/chromium/chromium/src/+/main:ipc...
- isaacdl 5mo agoHow is this so much faster than browsing my tiny little repo on Github? What is Github doing so wrong??
- ecshafer 5mo agoWow that is a lot faster and nicer than Github. This is a good example of large companies wouldn't send someone across the street to pick up $1M off the ground. If Google actually released that and a repo to public, they could take Githubs throne. But a few $B business isn't worthit for them.
- jpadkins 5mo agoIt's not that the $2B business isn't interesting, it's competing with GitHub would be a major undertaking and the opportunity cost of doing that is probably more than $2B.
- bskap 5mo agoWell, indexing and searching is kind of Google's thing. It also helps that they're using a unified build system. They can instrument the compiler to get cross references from the build instead of trying to figure out out by parsing the text themselves. They open sourced the tool to do it- https://kythe.io https://kythe.io - but I think it would be a pain to make it work for anything like GitHub that supports arbitrary languages and build systems with untrusted code
- surajrmal 5mo agoIn fact a lot of Google software projects have a public version of code search: https://cs.opensource.google/ https://cs.opensource.google/
- seanmcdirmid 5mo agoThis...I noticed a real productivity increase when going from Cider/VSCode to JetBrains/IDEA/IntelliJ for Kotlin code editing. Having a "real" IDE was still a plus, if just for the better code completion. AI has mostly changed the way I write code, I guess, so I rarely use JetBrains anymore, but a few years ago it was clearly a win to use a real IDE at least for Kotlin programming.
- internet101010 5mo agoJetBrains has several niches it excels in. DataGrip is by far the most important tool in my toolbox, as it allows me to work with every database type imaginable in one place (Databricks, Postgres, MSSQL, Oracle, etc.).
- dmoy 5mo ago> It’s super fast, is connected to language servers and can actually trace referenced Nit: not connected to language servers, it's connected to Kythe. LSP doesn't have the same kind of functionality.
- the_arun 5mo agoEvery large tech company of 80s, 90s & 2K (Google, eBay & all) have similar history when it comes to IDE, Source Control, Build Systems etc.,. This is not specific to Google.
- perkovsky 5mo ago[dead]
- galkk 5mo agoTo be fair, code search still sucked for navigation comparing to IDE even in 2024. Even cider-v was rather so-so if you needed to navigate complex c++ code. But I still remember days "edit in IDEA, debug in Eclipse"