| ▲ | srean a day ago | |||||||
If you want different parts of your code to be a statically typed Python lookalike Cython is a mature option | ||||||||
| ▲ | leobuskin a day ago | parent [-] | |||||||
Yes, it's mature, but you (and your potential audience) basically need to learn a new language, a lot of quirks and "weird" (I'd even say counter-intuitive) nuances, and it's also significantly less readable in comparison with strict and typed Python. Even its modern syntax doesn't click immediately (also performance wise the new syntax somehow is a bit slower in my tests) | ||||||||
| ||||||||