Saturday, October 16, 2010

Clojure High Performance Programming - Second Edition, by Shantanu Kumar

Clojure High Performance Programming - Second Edition, by Shantanu Kumar

This book Clojure High Performance Programming - Second Edition, By Shantanu Kumar offers you much better of life that could create the high quality of the life brighter. This Clojure High Performance Programming - Second Edition, By Shantanu Kumar is exactly what the people currently need. You are here and you may be precise as well as sure to obtain this book Clojure High Performance Programming - Second Edition, By Shantanu Kumar Never doubt to get it even this is simply a book. You can get this book Clojure High Performance Programming - Second Edition, By Shantanu Kumar as one of your compilations. Yet, not the collection to present in your bookshelves. This is a precious book to be reading compilation.

Clojure High Performance Programming - Second Edition, by Shantanu Kumar

Clojure High Performance Programming - Second Edition, by Shantanu Kumar



Clojure High Performance Programming - Second Edition, by Shantanu Kumar

Read Ebook Clojure High Performance Programming - Second Edition, by Shantanu Kumar

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 in Clojure
  • Use Criterium library to measure latency of Clojure expressions
  • Exploit Java features in Clojure code to enhance performance
  • Avoid reflection and boxing with type hints
  • Understand Clojure's concurrency and state-management primitives in depth
  • Measure and monitor performance, and understand optimization techniques

In Detail

Clojure treats code as data and has a macro system. It focuses on programming with immutable values and explicit progression-of-time constructs, which are intended to facilitate the development of more robust programs, particularly multithreaded ones. It is built with performance, pragmatism, and simplicity in mind. Like most general purpose languages, various Clojure features have different performance characteristics that one should know in order to write high performance code.

This book shows you how to evaluate the performance implications of various Clojure abstractions, discover their underpinnings, and apply the right approach for optimum performance in real-world programs.

It starts by helping you classify various use cases and the need for them with respect to performance and analysis of various performance aspects. You will also learn the performance vocabulary that experts use throughout the world and discover various Clojure data structures, abstractions, and their performance characteristics. Further, the book will guide you through enhancing performance by using Java interoperability and JVM-specific features from Clojure. It also highlights the importance of using the right concurrent data structure and Java concurrency abstractions.

This book also sheds light on performance metrics for measuring, how to measure, and how to visualize and monitor the collected data. At the end of the book, you will learn to run a performance profiler, identify bottlenecks, tune performance, and refactor code to get a better performance.

Style and approach

An easy-to-follow guide full of real-world examples and self-sufficient code snippets that will help you get your hands dirty with high performance programming with Clojure.

Clojure High Performance Programming - Second Edition, by Shantanu Kumar

  • Amazon Sales Rank: #2505171 in Books
  • Published on: 2015-09-01
  • Released on: 2015-09-29
  • Original language: English
  • Number of items: 1
  • Dimensions: 9.25" h x .45" w x 7.50" l, .77 pounds
  • Binding: Paperback
  • 175 pages
Clojure High Performance Programming - Second Edition, by Shantanu Kumar

About the Author

Shantanu Kumar

Shantanu Kumar is a software developer living in Bengaluru, India. He works with Concur Technologies as a principal engineer, building a next-generation stack in Clojure. He started learning computer programming when he was at school, and has dabbled in several programming languages and software technologies. Having used Java for a long time, he discovered Clojure in early 2009 and has been a fan of it ever since. When not busy with programming or reading up on technical stuff, he enjoys reading non-fiction and cycling around Bengaluru. Shantanu is an active participant in The Bangalore Clojure Users Group, and contributes to several open source Clojure projects on GitHub. He is also the author of the first edition of the book Clojure High Performance Programming, Packt Publishing.


Clojure High Performance Programming - Second Edition, by Shantanu Kumar

Where to Download Clojure High Performance Programming - Second Edition, by Shantanu Kumar

Most helpful customer reviews

0 of 0 people found the following review helpful. Great book to learn about Clojure, the JVM and software performance in general By Lucas Medeiros Reis I appreciate technical books that present not only theory, but useful practical tips as well. A lot of books fall somewhere in the middle, presenting little or no theory, and techniques that do not fit in real world projects. This book rises far above this threshold. My main highlights are:Chapter one, "Performance by Design". Made me think differently about performance no matter which language I'll be using.Chapter four, "Host Performance". Learned a lot about the JVM.Chapter six, "Measuring Performance". Measuring is maybe the most important part of performance tuning, and this chapter has both theory and practical Clojure tips.

1 of 1 people found the following review helpful. Interesting but not focused enough By Mr C M Fleming Overall, I thought this book was a good read. It provides a good overview of many essential concepts - throughput, bandwidth and latency, concurrency concepts, touches lightly on algorithmic complexity and also covers the essential statistical concepts required to understand Criterium's output and reason about performance. It's coverage of the Clojure data structures and especially the concurrency constructs is very detailed.However I came away feeling that there was a lack of actionable information in the book. As an experienced Clojure developer, I learned several things that I didn't know previously, but only as brief pointers to external information. The book spent a long time on topics which are undoubtedly interesting, but provided little guidance on what the information means for someone trying to improve the performance of their programs. For example, the discussion of modern processor and memory architecture was interesting and detailed, but how should I apply that knowledge to my projects, especially in a very high-level language such as Clojure? Subjects such as OS level profiling are mentioned, but these are highly specialised topics which have no place in a book this short.In the end I think this book treads an uneasy path - it's very detailed in places, but is too short to contain enough information to make many of the topics worth while. In the end, it tries to address an enormous topic in a short book, and I think it would have been better to have remained more focused on how Clojure developers specifically can improve their programs' performance. It will be useful to someone without a lot of experience in JVM or Clojure performance topics, but more experienced users will probably find it comes up short.

0 of 0 people found the following review helpful. A Lot Crammed Into A Small Space By Blake Watson This is a big, big topic crammed into a smallish (160+, excluding TOC, index, etc.) page book, but for all that, if you use it right it can be very helpful. This is not a beginner's book: it describes the nitty-gritty of how Clojure deals with various situations, which are things you don't want to concern yourself with until you have to. Laziness is covered, of course, as is chunking, transducers, mutability, transients, looping/recursion, and so on, and that's just Chapter 2! (Chapter 1 is mostly nomenclature.)Now, frankly, if I'm writing a 160 page book on optimization, I would probably take all 160 pages to talk about the material in Chapter 2. These are the underpinnings of the high level aspects of Clojure, but Kumar goes on to spend a chapter on Java bytecode, hardware optimizations. It's a lot of material, and it's only touched on here, by-and-large.I didn't find that to be a bad thing, however. It's perhaps less useful than it might be if you had a giant book that had your exact problem in it, I suppose, but what I've done is to read a chapter through quickly, and then look at my code and see if I can apply what I learned there. This not only has the potential to make the code faster, but to give you a deeper understanding of what's going on under the covers.You want to know going in, though. There's not a lot of hand-holding. I'm still pondering over the section on Agents, which I'm pretty sure I've heard Rich Hickey say he never uses. I kind of wanted the "Measuring Performance" (chapter 6) up front since that's what we're trying to do. Maybe Chapter 7, too.Anyway, this approach with this material worked for me, and I liked the way it removed some of the mystery of Clojure for me, or at least help me resolve some of the mystery by pointing me in the right direction.

See all 4 customer reviews... Clojure High Performance Programming - Second Edition, by Shantanu Kumar


Clojure High Performance Programming - Second Edition, by Shantanu Kumar PDF
Clojure High Performance Programming - Second Edition, by Shantanu Kumar iBooks
Clojure High Performance Programming - Second Edition, by Shantanu Kumar ePub
Clojure High Performance Programming - Second Edition, by Shantanu Kumar rtf
Clojure High Performance Programming - Second Edition, by Shantanu Kumar AZW
Clojure High Performance Programming - Second Edition, by Shantanu Kumar Kindle

Clojure High Performance Programming - Second Edition, by Shantanu Kumar

Clojure High Performance Programming - Second Edition, by Shantanu Kumar

Clojure High Performance Programming - Second Edition, by Shantanu Kumar
Clojure High Performance Programming - Second Edition, by Shantanu Kumar

No comments:

Post a Comment