ABSTRACT

Python is a dynamically typed high level interpreted language, suitable for general purpose programming. Although it is extremely popular due to ease of programming, it is much slower than C, C++ and Java. In this chapter we discuss the technologies that have been developed to speed up Python code execution. These technologies include Ahead-of-Time (AOT) and Just-In-Time (JIT) compilation, External compiled Module (C, C++) Inclusion (EMI) etc. We ran benchmark on each of these solutions and results show that these recent technologies can greatly increase Python’s speed of and in many cases can make it comparable to the speed of statically typed compiled languages like C and C++.