Hello, Please excuse these naive questions of mine...
Would it make sense to use Cython merely to avoid writing C? That is, am I missing something in thinking that I could do that? Assume I wrote a foo.pyx, which uses an external C lib. foo calls functions on the C lib and defines callbacks the latter lib will be calling. I then compile the foo.pyx into foo.so, then write a shell script that runs: python -c 'import foo' Could someone explain, in OS level terms, what would be happening when this shell script is running? what would the Python VM be doing? would it be idle all the time, while the Cython generated code is all that's running? is there a way to avoid that by compiling the foo.pyx directly into native executable? It's late and am having trouble following my own thoughts. I hope someone out there can detect the source of my confusion and help me clear it out. I am looking at using Cython because I need to use Python libs as well, but started wondering, if I did not need any Python libs at all.. Could I just use Cython for its pythonic syntax and semantics? Thanks a lot, Mohamed. _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
