Julia High Performance 2/e

Avik Sengupta

  • 出版商: Packt Publishing
  • 出版日期: 2019-06-11
  • 售價: $1,170
  • 貴賓價: 9.5$1,112
  • 語言: 英文
  • 頁數: 236
  • 裝訂: Paperback
  • ISBN: 178829811X
  • ISBN-13: 9781788298117
  • 相關分類: 程式語言
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

Key Features

  • Learn to code high reliability and high performance programs
  • Stand out from the crowd by developing code that runs faster than your peers' codes
  • Monitor the performance, Code Quality, & Resource Optimizations

Book Description

Julia is a high-level, high-performance dynamic programming language for numerical computing. It was created to solve the dilemma between high-level slow code and fast but low-level code, and the necessity to use both to achieve high performance.

If you want to understand how to avoid bottlenecks, and design your program for the highest possible performance, then this book is for you.

Julia High Performance will take you on a journey to understand the performance characteristics of your Julia programs, and enables you to utilize the promise of near C levels of performance in Julia. In this book, you will also see how Julia uses type information to achieve its performance goals, and how to use multiple dispatches to help the compiler to emit high performance machine code. Numbers and their arrays are obviously the key structures in scientific computing - you will see how Julia's design makes them fast. Towards the end, you will get a taste of Julia's multithreading and distributed computing capabilities.

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

What you will learn

  • Understand how Julia code is transformed into machine code
  • Learn the characteristics of high performance Julia 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
  • Understand number types in Julia
  • Use Julia arrays to write high performance code
  • Accelerate your code with the GPU
  • Use Tasks and async IO for responsive programs
  • Run Julia programs on large distributed cluster

商品描述(中文翻譯)

主要特點


  • 學習編寫高可靠性和高性能的程式

  • 通過開發比同行更快的程式,脫穎而出

  • 監控程式的性能、程式碼品質和資源優化

書籍描述

Julia是一種高階、高性能的動態程式語言,用於數值計算。它的創建是為了解決高階緩慢程式碼和快速但低階程式碼之間的困境,以及使用兩者來實現高性能的必要性。

如果您想了解如何避免瓶頸,並設計出具有最高性能的程式,那麼這本書適合您。

《Julia高性能》將帶您深入了解Julia程式的性能特性,並使您能夠在Julia中實現接近C程式的性能。在本書中,您還將看到Julia如何使用類型信息來實現其性能目標,以及如何使用多分派來幫助編譯器生成高性能的機器碼。數字及其數組顯然是科學計算中的關鍵結構-您將看到Julia的設計如何使它們達到快速運算。最後,您將嘗試使用Julia的多線程和分佈式計算能力。

通過閱讀本書,您將能夠構建大規模高性能的Julia應用程式,設計以速度為重點的系統,並提高現有程式庫的性能。

您將學到什麼


  • 了解Julia程式如何轉換為機器碼

  • 學習高性能Julia程式的特點

  • 測量Julia程式所需的時間和內存

  • 使用Julia的類型信息創建快速的機器碼

  • 定義和調用函數,同時不影響Julia的性能

  • 了解Julia中的數字類型

  • 使用Julia數組編寫高性能程式

  • 使用GPU加速程式

  • 使用任務和異步IO實現響應式程式

  • 在大型分佈式集群上運行Julia程式