Showing posts with label optimization. Show all posts
Showing posts with label optimization. Show all posts

Tuesday, March 11, 2014

Seven Concurrency Models in Seven Weeks: When Threads Unravel

Seven Concurrency Models in Seven Weeks
Seven Concurrency Models in Seven Weeks: When Threads Unravel
Paul Butcher (Author)

New!: $38.00 $30.97 (as of 03/11/2014 19:42 PST)

Hardware

Your software needs to leverage multiple cores, handle thousands of users and terabytes of data, and continue working in the face of both hardware and software failure. Concurrency and parallelism are the keys, and Seven Concurrency Models in Seven Weeks equips you for this new world. See how emerging technologies such as actors and functional programming address issues with traditional threads and locks development. Learn how to exploit the parallelism in your computer's GPU and leverage clusters of machines with MapReduce and Stream Processing. And do it all with the confidence that comes from using tools that help you write crystal clear, high-quality code.

This book will show you how to exploit different parallel architectures to improve your code's performance, scalability, and resilience.

Learn about the perils of traditional threads and locks programming and how to overcome them through careful design and by working with the standard library. See how actors enable software running on geographically distributed computers to collaborate, handle failure, and create systems that stay up 24/7/365. Understand why shared mutable state is the enemy of robust concurrent code, and see how functional programming together with technologies such as Software Transactional Memory (STM) and automatic parallelism help you tame it.

You'll learn about the untapped potential within every GPU and how GPGPU software can unleash it. You'll see how to use MapReduce to harness massive clusters to solve previously intractible problems, and how, in concert with Stream Processing, big data can be tamed.

With an understanding of the strengths and weaknesses of each of the different models and hardware architectures, you'll be empowered to tackle any problem with confidence.

What You Need:

The example code can be compiled and executed on *nix, OS X, or Windows. Instructions on how to download the supporting build systems are given in each chapter.

  • Rank: #34033 in Books
  • Published on: 2014-04-25
  • Original language: English
  • Number of items: 1
  • Dimensions: 9.02" h x 7.52" w x .0" l, .0 pounds
  • Binding: Paperback
  • 300 pages

Monday, March 10, 2014

Functional Programming in Java: Harnessing the Power Of Java 8 Lambda Expressions

Functional Programming in Java
Functional Programming in Java: Harnessing the Power Of Java 8 Lambda Expressions
Venkat Subramaniam (Author)

New!: $33.00 $25.82 (as of 03/10/2014 04:56 PST)
9 Used! | New! from $25.82 (as of 03/10/2014 04:56 PST)

Hardware

Get ready to program in a whole new way. Functional Programming in Java will help you quickly get on top of the new, essential Java 8 language features and the functional style that will change and improve your code. This short, targeted book will help you make the paradigm shift from the old imperative way to a less error-prone, more elegant, and concise coding style that's also a breeze to parallelize. You'll explore the syntax and semantics of lambda expressions, method and constructor references, and functional interfaces. You'll design and write applications better using the new standards in Java 8 and the JDK.

Print books will be available after the final version of Java 8 is released.

Lambda expressions are lightweight, highly concise anonymous methods backed by functional interfaces in Java 8. You can use them to leap forward into a whole new world of programming in Java. With functional programming capabilities, which have been around for decades in other languages, you can now write elegant, concise, less error-prone code using standard Java. This book will guide you though the paradigm change, offer the essential details about the new features, and show you how to transition from your old way of coding to an improved style.

In this book you'll see popular design patterns, such as decorator, builder, and strategy, come to life to solve common design problems, but with little ceremony and effort. With these new capabilities in hand, Functional Programming in Java will help you pick up techniques to implement designs that were beyond easy reach in earlier versions of Java. You'll see how you can reap the benefits of tail call optimization, memoization, and effortless parallelization techniques.

Java 8 will change the way you write applications. If you're eager to take advantage of the new features in the language, this is the book for you.

What you need:

Java 8 with support for lambda expressions and the JDK is required to make use of the concepts and the examples in this book.

  • Rank: #40513 in Books
  • Published on: 2014-03-01
  • Original language: English
  • Number of items: 1
  • Dimensions: .42" h x 7.50" w x 9.25" l, .76 pounds
  • Binding: Paperback
  • 160 pages