- Python High Performance(Second Edition)
- Gabriele Lanaro
- 251字
- 2021-07-09 21:01:50
Preface
The Python programming language has seen a huge surge in popularity in recent years, thanks to its intuitive, fun syntax, and its vast array of top-quality third-party libraries. Python has been the language of choice for many introductory and advanced university courses as well as for numerically intense fields, such as the sciences and engineering. Its primary applications also lies in machine learning, system scripting, and web applications.
The reference Python interpreter, CPython, is generally regarded as inefficient when compared to lower-level languages, such as C, C++, and Fortran. CPython’s poor performance lies in the fact that the program instructions are processed by an interpreter rather than being compiled to efficient machine code. While using an interpreter has several advantages, such as portability and the additional compilation step, it does introduce an extra layer of indirection between the program and the machine, which causes a less efficient execution.
Over the years, many strategies have been developed to overcome CPython's performance shortcomings. This book aims to fill this gap and will teach how to consistently achieve strong performance out of your Python programs.
This book will appeal to a broad audience as it covers both the optimization of numerical and scientific codes as well as strategies to improve the response times of web services and applications.
The book can be read cover-to-cover ; however, chapters are designed to be self-contained so that you can skip to a section of interest if you are already familiar with the previous topics.
- Docker and Kubernetes for Java Developers
- Learning Real-time Processing with Spark Streaming
- Building a Game with Unity and Blender
- Visual Basic編程:從基礎到實踐(第2版)
- Learning SQLite for iOS
- C/C++常用算法手冊(第3版)
- Java Web程序設計
- Python數據可視化之Matplotlib與Pyecharts實戰
- 程序員修煉之道:通向務實的最高境界(第2版)
- 零基礎學Python網絡爬蟲案例實戰全流程詳解(入門與提高篇)
- Tableau 10 Bootcamp
- 基于SpringBoot實現:Java分布式中間件開發入門與實戰
- R Data Science Essentials
- 深入實踐DDD:以DSL驅動復雜軟件開發
- Python計算機視覺與深度學習實戰