Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cython For Appengine

Is it possible to use Cython in appengine (with Python 2.7 specifically)? I could see using it when some code is not performing well, and could use a speed boost by having a statically defined type, or loop optimization, etc...

like image 297
Eliezer Avatar asked Feb 13 '26 01:02

Eliezer


1 Answers

No, this is very clearly not possible. GAE has very strong restrictions on what you can run inside its sandbox, and one of the most definitively spelled-out restrictions is that you 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.

like image 71
Daniel Roseman Avatar answered Feb 14 '26 16:02

Daniel Roseman



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!