camlorn wrote:Actually, Cython is a horrible thing for a certain type of application. If you're using it only for speed and not to bind C code you're fine. Otherwise, you *have* to use VS 2008 or VS 2010, which means that you cant' use all the latest features.
I am using cython to bind c++ code and find it completely OK for the job. Limitation about using certain version of MS compiler comes from the fact, that you have to use the same version of compiler which was used to build windows python distribution, and, therefore, is not cython-specific. The same would apply if you used boost::python or any other library/tool to develop python extensions.
camlorn wrote:CFFI also has problems with Py2exe, at least if you're concerned about authorization.
Frankly speaking, if you are concerned about authorization - forget about python. It is practically impossible to hide your code from decompilation. Tricks with encrypting/changing bytecode were tried by big guys like dropbox, but were hacked right away by volunteers.
camlorn wrote:Ctypes isn't hard, but it's pretty much the only option if you want it to work in all situations. Which sucks a lot.
And is not an option if you want to wrap c++ code. You, of course, might write a C wrapper for c++ code and then call it from ctypes, but that's not always feasible, cause other options are available.