|
|
|
|
|
by mwt
498 days ago
|
|
kinda mixed on this - why not just contribute to the community tool? - there's already a major split in Python type-checking tools, if there's a third that doesn't agree with either of them it'll be a mess for projects to deal with - astral has been hiring like mad recently and has yet to communicate that they can actually make money ($5 million doesn't last forever) - does it actually exist? is this currently a closed-source codebase, or is "we're building" future tense? |
|
what community tool? mypy is written in python, and is non-incremental, whereas astral's goal is to build a fast, incremental type checker in rust. there is no way to get from one to the other via code contributions, they fundamentally need to start from scratch with their own architecture.
as for the split in type checking tools, it is not as bad as you think; the syntax and to a large extent the semantics of the type system are defined via a community process and standardised upon, and the various type checkers largely differ in their implementation details but not in their interpretation of the code. so you can freely use several different type checkers without fear of disagreement.