3 ms·
There's some info on semantic differences here: http://docs.cython.org/src/userguide/limitations.html http://docs.cython.org/src/userguide/limitations.html - it
by gmantastic 13y ago
There's some info on semantic differences here: http://docs.cython.org/src/userguide/limitations.html http://docs.cython.org/src/userguide/limitations.html - it doesn't bring up much, and the design goal is full language compatibility. I've only played with it so far, but it's case of optionally adding type info, and also writing some distutils scaffolding to say how to build the module as a cython extension. This is then callable from Python via the regular import mechanism.
- wikiburner 13y agoThanks for the link. I was just poking around the Cython site myself, and it looks like they've come a long way since I last looked into it. It seems that they're getting much closer to full compatibility. It makes me wonder if we're closing in on the day when Cython gets rolled into Python proper, and you can just "import static-types" to activate optional typing, then add some static typing to your code, and you would get Java performance from your Python code.
- ris 13y ago"and you would get Java performance from your Python code." Nah, I doubt it would ever use _that_ much memory.
- wikiburner 13y ago:) I guess what I meant to say was Java speed (or greater) Python.