Julia High Performance - Avik Sengupta

Julia High Performance

Optimizations, distributed computing, multithreading, and GPU programming with Julia 1.0 and beyond, 2nd Edition

(Autor)

Buch | Softcover
218 Seiten
2019 | 2nd Revised edition
Packt Publishing Limited (Verlag)
978-1-78829-811-7 (ISBN)
29,90 inkl. MwSt
Julia is a high-level, high-performance dynamic programming language for numerical computing. This book will help you understand the performance characteristics of your Julia programs and achieve near-C levels of performance in Julia.
Design and develop high-performance programs in Julia 1.0

Key Features

Learn the characteristics of high-performance Julia code
Use the power of the GPU to write efficient numerical code
Speed up your computation with the help of newly introduced shared memory multi-threading in Julia 1.0

Book DescriptionJulia is a high-level, high-performance dynamic programming language for numerical computing. If you want to understand how to avoid bottlenecks and design your programs for the highest possible performance, then this book is for you.

The book starts with how Julia uses type information to achieve its performance goals, and how to use multiple dispatches to help the compiler emit high-performance machine code. After that, you will learn how to analyze Julia programs and identify issues with time and memory consumption. We teach you how to use Julia's typing facilities accurately to write high-performance code and describe how the Julia compiler uses type information to create fast machine code. Moving ahead, you'll master design constraints and learn how to use the power of the GPU in your Julia code and compile Julia code directly to the GPU. Then, you'll learn how tasks and asynchronous IO help you create responsive programs and how to use shared memory multithreading in Julia. Toward the end, you will get a flavor of Julia's distributed computing capabilities and how to run Julia programs on a large distributed cluster.

By the end of this book, you will have the ability to build large-scale, high-performance Julia applications, design systems with a focus on speed, and improve the performance of existing programs.

What you will learn

Understand how Julia code is transformed into machine code
Measure the time and memory taken by Julia programs
Create fast machine code using Julia's type information
Define and call functions without compromising Julia's performance
Accelerate your code via the GPU
Use tasks and asynchronous IO for responsive programs
Run Julia programs on large distributed clusters

Who this book is forThis book is for beginners and intermediate Julia programmers who are interested in high-performance technical programming. A basic knowledge of Julia programming is assumed.

Avik Sengupta is the vice president of engineering at Julia Computing, a contributor to open source Julia, and the maintainer of several Julia packages. Avik is the co-founder of two start-ups in the financial services and AI sectors, and is a creator of large, complex trading systems for the world's leading investment banks. Prior to Julia Computing, Avik was co-founder and CTO at AlgoCircle and at Itellix, director at Lab49, and head of algorithmic solutions at Decimal Point Analytics. Avik earned his MS in computational finance at Carnegie Mellon and MBA Finance at the Indian Institute of Management in Bangalore.

Table of Contents

Julia is Fast
Analyzing Performance
Type, Type Inference, and Stability
Making Fast Function Calls
Fast Numbers
Using Arrays
Accelerating code with the GPU
Concurrent programming with Tasks
Threads
Distributed Computing with Julia

Erscheinungsdatum
Vorwort Alan Edelman
Verlagsort Birmingham
Sprache englisch
Maße 75 x 93 mm
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Informatik Theorie / Studium Künstliche Intelligenz / Robotik
ISBN-10 1-78829-811-X / 178829811X
ISBN-13 978-1-78829-811-7 / 9781788298117
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich