eBooks-it.org Logo
eBooks-IT.org Inner Image

Python High Performance Programming

Python High Performance Programming Image

Book Details:

Publisher:Packt Publishing
Series: Packt , High Performance
Author:Gabriele Lanaro
Edition:1
ISBN-10:1783288450
ISBN-13:9781783288458
Pages:108
Published:Dec 23 2013
Posted:Nov 19 2014
Language:English
Book format:PDF
Book size:1.1 MB

Book Description:

Boost the performance of your Python programs using advanced techniques Overview Identify the bottlenecks in your applications and solve them using the best profiling techniques Write efficient numerical code in NumPy and Cython Adapt your programs to run on multiple processors with parallel programming In Detail Python is a programming language with a vibrant community known for its simplicity, code readability, and expressiveness. The massive selection of third party libraries make it suitable for a wide range of applications. This also allows programmers to express concepts in fewer lines of code than would be possible in similar languages. The availability of high quality numerically-focused tools has made Python an excellent choice for high performance computing. The speed of applications comes down to how well the code is written. Poorly written code means poorly performing applications, which means unsatisfied customers. This book is an example-oriented guide to the techniques used to dramatically improve the performance of your Python programs. It will teach optimization techniques by using pure python tricks, high performance libraries, and the python-C integration. The book will also include a section on how to write and run parallel code. This book will teach you how to take any program and make it run much faster. You will learn state-of the art techniques by applying them to practical examples. This book will also guide you through different profiling tools which will help you identify performance issues in your program. You will learn how to speed up your numerical code using NumPy and Cython. The book will also introduce you to parallel programming so you can take advantage of modern multi-core processors. This is the perfect guide to help you achieve the best possible performance in your Python applications. What you will learn from this book Assess the performance of your programs using benchmarks Spot the bottlenecks in your code using the Python profiling tools Speed up your code by replacing Python loops with NumPy Boost NumPy performance using the numexpr compiler Use Cython to reach performance on par with the C language Write code for multiple processors Profile, optimize, and rewrite an application from start to finish Approach An exciting, easy-to-follow guide illustrating the techniques to boost the performance of Python code, and their applications with plenty of hands-on examples. Who this book is written for If you are a programmer who likes the power and simplicity of Python and would like to use this language for performance-critical applications, this book is ideal for you. All that is required is a basic knowledge of the Python programming language. The book will cover basic and advanced topics so will be great for you whether you are a new or a seasoned Python developer.

Download Link:

Related Books:

Intel Xeon Phi Coprocessor

High Performance Programming
Intel Xeon Phi Coprocessor Image
Authors Jim Jeffers and James Reinders spent two years helping educate customers about the prototype and pre-production hardware before Intel introduced the first Intel Xeon Phi coprocessor. They have distilled their own experiences coupled with insights from many expert customers, Intel Field Engineers, Application Engineers and Technical Consulting Engineers, to create this authoritative first book on the essentials of programming for this new architecture and these new products. This book is useful even before you ever touch a system with an Intel Xeon Phi coprocessor. To ensure that your applications run at maximum efficiency, the authors emphasize key techniques for programming any modern parallel computing system whether based on Intel Xeon pro...

Clojure High Performance Programming

Clojure High Performance Programming Image
Understand performance aspects and write high performance code with Clojure Overview See how the hardware and the JVM impact performance Learn which Java features to use with Clojure, and how Deep dive into Clojure's concurrency and state primitives Discover how to design Clojure programs for performance In Detail Clojure is a young, dynamic, functional programming language that runs on the Java Virtual Machine. It is built with performance, pragmatism, and simplicity in mind. Like most general purpose languages, Clojures features have different performance characteristics that one should know in order to write high performance code. Clojure High Performance Programming is a practical, to-the-point guide that shows you how to evaluate the performan...

Clojure High Performance Programming

Clojure High Performance Programming Image
2nd Edition
Become an expert at writing fast and high performant code in Clojure 1.7.0 About This Book * Enhance code performance by using appropriate Clojure features * Improve the efficiency of applications and plan their deployment * A hands-on guide to designing Clojure programs to get the best performance Who This Book Is For This book is intended for intermediate Clojure developers who are looking to get a good grip on achieving optimum performance. Having a basic knowledge of Java would be helpful. What You Will Learn * Identify performance issues in Clojure programs using different profiling tools * Master techniques to achieve numerical performance ...



2007 - 2021 © eBooks-IT.org