COMP 206 Lecture Notes - Lecture 34: Machine Code, Standard Streams, Cython
Document Summary
. so are a useful tool to package your own code ensure unix can find your shared object when compiling/ running code. Can also use functions through dynamic linking. This code will only work if the library is in the shared library path. Actually another language, but a hybrid of the two we know. Cython is a way to speed up python code by compiling it like c setup. py explains how to build this, tells what code we want to speed up. Cython autogenerates c code and corresponding object files (will do the same thing the python interpreter does and autogenerates the same c code. Never have to open a cython file straight python code is optimized bc types and sizes are determined in advance. C and python components can co-exist in an integrated fashion. Compiled code= less portable (difficult to switch between os/ bit systems. Get a traceback of internal server error. Usually go to the server s error_log file.