SPy seems most likely to be more likely to be appealing as a more Pythonic alternative to Cython rather than a Python replacement.
SPy seems most likely to be more likely to be appealing as a more Pythonic alternative to Cython rather than a Python replacement.
> how can you reliably import libraries?
the blog post specifies it but probably not in great level of detail. Calling python libs from spy will go through libpython.so (so essentially we will embed CPython). So CPython will import the library, and there will be a SPy<=>CPython interop layer to convert/proxy objects on the two worlds.
A type is a contract, not a hint!
In Python it is a hint.
But not receiving as much as a warning when you violate type hints is the worst of both worlds.
Duck typing isn’t completely incompatible with type checking btw. Haskells type classes are an elegant solution to that, for example.