262 karma · joined March 19, 2012
You cannot convince developers to use a tool with just words. They need to experience the benefits first hand. And getting to the benefits should happen as fast as possible after starting to test the tool.
Yes, Python indexing speed is still slow, mostly due to the underlying framework that needs a lot of time to resolve symbol names. We hope we can improve this.
The crash on closing was already reported: https://github.com/CoatiSoftware/SourcetrailBugTracker/issue... I opened another issue to not inform about indexing when only renaming source groups: https://github.com/CoatiSoftware/SourcetrailBugTracker/issue...
* Sourcetrail has a tighter integration between source code and graph visualization, because it offers less features than a full blown IDE like Visual Studio and can keep the UI more simple. Users of Sourcetrail can use either code or graph to navigate and both update simultaneously. In Code Maps the visualization stays the static until explicitly updated by the user.
* Sourcetrail's visualization is centered around one currently active symbol. Then other nodes are positioned up/below/left/right of it to encode additional meaning into the layout. Nodes are bundled together to de-clutter. In Code Maps the user starts with a certain symbol and then adds more and more symbols to the visualization, building a map. Filters can be applied to de-clutter.
* Sourcetrail needs to index all source code upfront, but afterwards querying and visualization generation is fast. I'm not certain, but to my knowledge Code Maps indexes only on demand/only partly upfront, so queries are not as instant.
If you are interested in Software Visualization, you can watch my recent talk at ACCU 2019, where I go through some design decisions of our visualization: https://www.youtube.com/watch?v=Gvmp3Gzhv8o
A lot of things have changed since Sourcetrail was called Coati (about 2 years ago). We put a lot of work into improving indexing speed, handling multiple configurations/different languages within one project and reducing "sluggishness" in the UI. Sourcetrail runs now smoothly on code bases with multiple MLoC.
But I agree with your suggestion regarding data-flow analysis. That is what understanding unfamiliar source code often really comes down to. We also had some user requests to go that direction. We never really looked into this area so far, because it is a lot harder to collect the data (dynamic analysis) and it needs a whole new user interface.
While the data collection is solvable (Visual Studio debugger can do it, I think), I'm not sure whether it is really possible to come up with an effective user interface that shows which paths the different values take.
To explain why this is hard, let me use a metaphor: With data-flow you need to deal with a new dimension: time. Sourcetrail can handle dependencies between definitions really well, before the code is executed: space. What you want is a tool that combines the two into a space-time exploration tool of source code. Not sure if possible at all, but very interesting to think about. :)
We decided to focus on source exploration instead. Sourcetrail is made for the second screen. We implemented plugins for the most used source editors to enable easy switching. Please have a look at our documentation: https://www.sourcetrail.com/documentation/#CODEEDITORPLUGINS
I would say we go a step further, by also providing a visual representation of the references to symbol, which quickly conveys how a symbol is embedded into the rest of the code base, without even reading a line of code. That makes exploring a lot faster.
The original minesweeper rules don't make for a great game in 3D. I added the "sweep mode", where you can remove mines, to make the game more appealing in 3D
I faced this problem while interning in the Google Chrome team and working on Chromium. Most of my time was used by reading the source code and figuring out the bigger picture of how classes and methods play together. I actually came to the conclusion that the big problem is that current tooling does not really support a developer on the task of reading existing source code. So I started building a new tool, Coati, an interactive source explorer for C/C++ based on clang. After using Coati myself for about half a year now, I can say that it really helps me navigate through the codebase quicker.
The tool is still at an early stage. We recently launched our website with a first release version: https://www.coati.io/
Do you think Coati is a tool that can help you?
> Yet mainstream IDEs are basically glorified text editors.
These two statements are exactly why I started working on a developer tool for exploring and understanding source code.
Coati is an interactive source explorer for C and C++ that makes comprehension of existing source code easier and allows for quick navigation whithin the source code: https://www.coati.io/
That's why I started building Coati, an interactive source explorer for C/C++. Coati allows you to see the relationships of classes and functions and thereby makes it easier to get an overview of your codebase. This makes the familiarization step of the process much easier.
I think this really is the core insight behind visual tooling. I'm currently working on Coati, a source explorer for C/C++, which does exactly that. By building a visual representation on top of a textual syntax, you can leverage the advantages of both.
This is not Perl related, but I'm currently working on a developer tool that makes this part of the job easier. It's a source explorer for C/C++ named Coati that simplifies navigation within source code and thereby makes understanding the implementation faster and easier. https://www.coati.io/
After speaking to tax accountants and the finance office we decided to go for a reseller. The reseller does the invoicing for you. You just need to do the bookkeeping of the money you get from the reseller. We are using FastSpring. They do monthly subscriptions as well.
The idea was based on our experience that you spend too much time searching through code as a developer. Coati makes it much easier to see how the different parts of the software play together.