Rewriting it in rust would remove that important aspect c
Rewriting it in rust would remove that important aspect c
Sorry, my previous comment wasn't very clear. Of course, faster languages produce faster results. But the language alone isn't enough in this case.
It takes three steps. Steps 1 and 3 are parellisable, and 2 should be very quick:
1. Convert every file in the repository to an AST, and perform static reflection on that AST.
2. Calcuate the inheritance graph for all the functions, classes etc. you've collected
3. Analyse every file, using the pre-calculated list of functions and classes available in each case.
But, while I’m sure it was really important initially, there are now very many test cases and early-adopters to help prevent regressions.
And they still have that large TypeScript codebase to test their new tool on — it wouldn’t vanish.