Programming concurrency on the JVM [Recurso electrónico] : mastering synchronization, STM and actors / Venkat Subramaniam.Material type: Text; Format: electronic Series: Pragmatic Programmers (Pragmatic Bookshelf)Publisher: Dallas, TX : Pragmatic Bookshelf, 2011Description: 1 online resourceISBN: 9781934356760Subject(s): Java (Computer program language) | Java virtual machine | Parallel processing (Electronic computers) | Computer multitasking | Computer programming | Systems programming (Computer science) | Programación en Internet | Java (Lenguaje de programación)Online resources: Texto completo. Es necesario registrarse con el correo institucional.
More than ever, learning to program concurrency is critical to creating faster, responsive applications. Speedy and affordable multicore hardware is driving the demand for high-performing applications, and you can leverage the Java platform to bring these applications to life. Concurrency on the Java platform has evolved, from the synchronization model of JDK to software transactional memory (STM) and actor-based concurrency. This book is the first to show you all these concurrency styles so you can compare and choose what works best for your applications. You'll learn the benefits of each of these models, when and how to use them, and what their limitations are. Through hands-on exercises, you'll learn how to avoid shared mutable state and how to write good, elegant, explicit synchronization-free programs so you can create easy and safe concurrent applications. The techniques you learn in this book will take you from dreading concurrency to mastering and enjoying it. Best of all, you can work with Java or a JVM language of your choice - Clojure, JRuby, Groovy, or Scala - to reap the growing power of multicore hardware. If you are a Java programmer, you'd need JDK 1.5 or later and the Akka 1.0 library. In addition, if you program in Scala, Clojure, Groovy or JRuby you'd need the latest version of your preferred language. Groovy programmers will also need GPars.Key Selling Points First multi-paradigm multi-language concurrency book to market Simple, elegant, and very practical solutions for concurrency on the Java platform Developers can shift concurrency paradigm without shifting languages Educates programmers so they can pick the concurrency solution that's right for their applicationsAudience Programming Concurrency is for experienced programmers interested in: mastering concurrency on the Java platform creating scalable explicit lock-free concurrent applications making good use of multicore processors painlessly creating correct concurrent applicationsAbout the Technology Programming concurrency may appear to be harder than juggling fire: it's high risk and requires great coordination. Unlike such an exquisite sport, though, concurrency is something most programmers can't avoid. The trend in hardware and multicores only exasperates these concerns. Thankfully some simple and elegant solutions have evolved to solve concurrency on the Java Virtual Machine. This book is the first to market to bring multiple concurrency programming paradigms together and in multiple languages. It helps programmers understand and use these paradigms so they can painlessly program concurrency. This will allow programmers to, instead of struggling with concurrency, devote their time and effort building scalable applications that make good use of multicore processors.Other Information