3 ms·
No, it's more like this: Mypy is to Python what Sorbet is to Ruby and mypyc is basically a Python compiler, like the Sorbet compiler. CPython is just like Ruby
by davidhalter 5y ago
No, it's more like this: Mypy is to Python what Sorbet is to Ruby and mypyc is basically a Python compiler, like the Sorbet compiler.
CPython is just like Ruby MRI. It does not do type checking or use type annotations and it's basically an interpreter not a compiler.
- ovis 5y agoTo clear up a possible misunderstanding, CPython != Cython.
- viraptor 5y agoAnd for more context: Cython/mypyc differences - https://mypyc.readthedocs.io/en/latest/introduction.html#differences-from-cython https://mypyc.readthedocs.io/en/latest/introduction.html#dif... Also mypyc is still very alpha, while cython is production-usable for years now.