是否可以在 Appengine 中使用 Cython(特别是 Python 2.7)?当某些代码性能不佳时,我可以看到使用它,并且可以通过静态定义的类型或循环优化等来提高速度...
最佳答案
不,这显然是不可能的。 GAE 对您可以在其沙箱内运行的内容有非常严格的限制,最明确的限制之一是您 cannot run arbitrary C code :
All code for the Python runtime environment must be pure Python, and not include any C extensions or other code that must be compiled.
关于python - 适用于 Appengine 的 Cython,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18587032/