Re:Show HN: A Python with Hindley-Milner-like type annotatio...
by Fede_V on Friday June 26, 2015 @09:48AM
(#9784280)
Yes, that's correct, but if you are using semi-complex objects, then you have to invoke the python interpreter and lose most of the advantage of going to Cython in the first place.
Even for things like ints, floats, etc - if you want to see a significant speed up, you have to convert them into c ints and floats.
I've never really played with it, but cython does have mappings between python builtin types and STL containers, as well as letting you create C++ classes using cython syntax that you can inherit from and access in python.