Re:Show HN: Sourcetrail – Get productive on unfamiliar sourc...
by problems on Thursday June 22, 2017 @11:56AM
(#14613127)
What's the C++ support like?
[ Parent
| on HN ]
Re:Show HN: Sourcetrail – Get productive on unfamiliar sourc...
by egraether on Thursday June 22, 2017 @12:02PM
(#14613176)
Sourcetrail developer here: Pretty solid. We use clang libTooling.
Re:Show HN: Sourcetrail – Get productive on unfamiliar sourc...
by gigatexal on Thursday June 22, 2017 @12:18PM
(#14613289)
C# support would be cool too!
Re:Show HN: Sourcetrail – Get productive on unfamiliar sourc...
by egraether on Thursday June 22, 2017 @12:33PM
(#14613410)
Yes, that's on the list as well.
Re:Show HN: Sourcetrail – Get productive on unfamiliar sourc...
by malnourish on Thursday June 22, 2017 @12:29PM
(#14613381)
How's the performance on a large codebase?
North of 500k lines, few thousand cpp/h files, 40+mb
Re:Show HN: Sourcetrail – Get productive on unfamiliar sourc...
by nebucnaut on Thursday June 22, 2017 @12:35PM
(#14613422)
We have been working on that for the past few month. Right now the performance is pretty good for C++ projects up to around 2 million lines of code. For C projects the performance is even better! If you want to test it, just download the pre-indexed clang project (900k loc) from our website (https://www.sourcetrail.com/downloads#extra). Indexing the project took 12 minutes on a 5 year old laptop.
Re:Show HN: Sourcetrail – Get productive on unfamiliar sourc...
by malnourish on Thursday June 22, 2017 @02:20PM
(#14614192)
Really great news! I think I'll give this a demo when I have some capacity.
Thanks
Re:Show HN: Sourcetrail – Get productive on unfamiliar sourc...
by davidshepherd7 on Friday June 23, 2017 @04:03PM
(#14622303)
I tried it on a fairly big repo today (~500k loc) and once it was done with the initial processing performance was fine.
Re:Show HN: Sourcetrail – Get productive on unfamiliar sourc...
by rasjani on Thursday June 22, 2017 @02:05PM
(#14614087)
Compile commands ? Please Yes?
Re:Show HN: Sourcetrail – Get productive on unfamiliar sourc...
by jschwartzi on Thursday June 22, 2017 @03:54PM
(#14614837)
There is also a tool called Bear which will generate compile commands from Make-based builds, in case you were wondering. I've used it with some success.
Re:Show HN: Sourcetrail – Get productive on unfamiliar sourc...
by rasjani on Thursday June 22, 2017 @05:32PM
(#14615517)
Im well aware of bear. Works fine in some cases, not so well in others. Author is also doing scan-build replacement in python which imho is far superior to bear.
Re:Show HN: Sourcetrail – Get productive on unfamiliar sourc...
by nebucnaut on Thursday June 22, 2017 @02:09PM
(#14614113)
Yes, we support Compile Commands :)
Re:Show HN: Sourcetrail – Get productive on unfamiliar sourc...
by voltagex_ on Thursday June 22, 2017 @07:19PM
(#14616035)
What are compile commands?
Re:Show HN: Sourcetrail – Get productive on unfamiliar sourc...
by nebucnaut on Friday June 23, 2017 @01:32AM
(#14617208)
A Compile Command is a JSON file entry that specifies what the C/C++ compiler should do when compiling a file. So it defines a file to compile and all the required flags (like include paths or preprocessor defines). These Compile Commands are used for all kind of Clang based tools. You can read more here: https://clang.llvm.org/docs/JSONCompilationDatabase.html