COMP 206 Lecture Notes - Lecture 34: Machine Code, Standard Streams, Cython

30 views1 pages

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.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents