Clojure High Performance Programming (Paperback)

Shantanu Kumar

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

相關主題

商品描述

Written for intermediate Clojure developers, this compact guide will raise your expertise several notches. It tackles all the fundamentals of analyzing and optimizing performance in clear, logical chapters.

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, Clojure’s 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 performance implications of different Clojure abstractions, learn about their underpinnings, and apply the right approach for optimum performance in real-world programs.

This book discusses the Clojure language in the light of performance factors that you can exploit in your own code.

You will also learn about hardware and JVM internals that also impact Clojure’s performance. Key features include performance vocabulary, performance analysis, optimization techniques, and how to apply these to your programs. You will also find detailed information on Clojure's concurrency, state-management, and parallelization primitives.

This book is your key to writing high performance Clojure code using the right abstraction, in the right place, using the right technique.

What you will learn from this book

  • Learn techniques for achieving numerical performance in Clojure
  • Use Java features in Clojure code for performance
  • Avoid reflection and boxing with type hints
  • Analyze latency using the Criterium library
  • Understand Clojure's concurrency and state-management primitives in depth
  • Explore how to design Clojure applications for better performance

Approach

This is a short, practical guide that will teach you everything you need to know to start writing high performance Clojure code.

Who this book is written for

This book is ideal for intermediate Clojure developers who are looking to get a good grip on how to achieve optimum performance. You should already have some experience with Clojure and it would help if you already know a little bit of Java. Knowledge of performance analysis and engineering is not required. For hands-on practice, you should have access to Clojure REPL with Leiningen.

商品描述(中文翻譯)

這本緊湊的指南是為中級Clojure開發者撰寫的,將提升您的專業水平。它以清晰、邏輯的章節介紹了分析和優化性能的所有基礎知識。

概述:
- 瞭解硬體和JVM對性能的影響
- 學習如何在Clojure中使用Java功能
- 深入探討Clojure的並發和狀態原始碼
- 發現如何為性能設計Clojure程式

詳細內容:
Clojure是一種年輕、動態的函數式程式語言,運行在Java虛擬機上。它以性能、實用性和簡潔性為設計理念。與大多數通用程式語言一樣,Clojure的功能具有不同的性能特性,為了撰寫高性能的程式,您應該瞭解這些特性。

《Clojure高性能程式設計》是一本實用、直截了當的指南,向您展示如何評估不同Clojure抽象的性能影響,瞭解其基礎知識,並在實際程式中應用適當的方法以獲得最佳性能。

本書討論了Clojure語言在性能因素下的應用,並介紹了影響Clojure性能的硬體和JVM內部原理。關鍵特點包括性能術語、性能分析、優化技巧以及如何將其應用於您的程式。您還將找到有關Clojure的並發、狀態管理和平行化原始碼的詳細資訊。

本書將幫助您使用正確的抽象、正確的位置和正確的技巧撰寫高性能的Clojure程式。

從本書中您將學到:
- 學習在Clojure中實現數值性能的技巧
- 在Clojure程式中使用Java功能以提升性能
- 通過類型提示避免反射和裝箱
- 使用Criterium庫分析延遲
- 深入瞭解Clojure的並發和狀態管理原始碼
- 探索如何設計更高性能的Clojure應用程式

這是一本短小實用的指南,將教您一切開始撰寫高性能Clojure程式所需的知識。

本書適合中級Clojure開發者,他們希望瞭解如何實現最佳性能。您應該已經具備一些Clojure的經驗,如果您已經了解一點Java,將更有幫助。不需要具備性能分析和工程知識。為了進行實踐,您應該能夠使用帶有Leiningen的Clojure REPL。

最後瀏覽商品 (1)