Skip to main content Accessibility help
Internet Explorer 11 is being discontinued by Microsoft in August 2021. If you have difficulties viewing the site on Internet Explorer 11 we recommend using a different browser such as Microsoft Edge, Google Chrome, Apple Safari or Mozilla Firefox.

Chapter 25: Make It Talk to Other Languages

Chapter 25: Make It Talk to Other Languages

pp. 702-705

Authors

, University of Washington, Bothell, , City College, City University of New York, , Envestnet Tamarac, Washington, , University of Washington, Bothell, , Biota Technology Inc., California
Resources available Unlock the full potential of this textbook with additional resources. There are free resources and Instructor restricted resources available for this textbook. Explore resources
  • Add bookmark
  • Cite
  • Share

Summary

In Section 22.4.2, we mentioned just-in-time compilation tools such as cython and numba that enable us to write parts of our Python code in another language or convert our Python code into an optimized non-Python version. The goal with using cython and numba is to enable our Python code to run faster. There are times, however, when we have a collection of legacy Fortran or C++ routines – battle-tested and reliable – that we want to use “as-is” from inside Python. The code files already exist external to Python, so we want to compile and wrap them up and expose them to Python to use.

About the book

Access options

Review the options below to login to check your access.

Purchase options

eTextbook
US$74.00
Paperback
US$74.00

Have an access code?

To redeem an access code, please log in with your personal login.

If you believe you should have access to this content, please contact your institutional librarian or consult our FAQ page for further information about accessing our content.

Also available to purchase from these educational ebook suppliers