Scala is an exciting, modern, multi-paradigm language for the JVM. You can use it to write traditional, imperative, object-oriented code. But you can also leverage its higher level of abstraction to take full advantage of modern, multicore systems. Programming Scala will show you how to use this powerful functional programming language to create highly scalable, highly concurrent applications on the Java Platform.
Programming Scala: Tackle Multi-Core Complexity on the Java Virtual Machine
by Venkat Subramaniam
Note: This title is out of date. Please check back for the Second Edition coming soon!
About This Title
The increasing popularity and availability of multicore processors is creating a whole new set of challenges—although you can enjoy true concurrency, you’re now faced with higher contention and synchronization issues. Deploying an existing application on a multicore processor may bring out previously hidden concurrency issues. Java’s multi-threading facility by itself isn’t enough—-it’s a very low level abstraction. Instead, you need a paradigm that provides a higher level of abstraction to deal with concurrency. It’s time to embrace Functional Programming.
Scala is a hybrid Object-Oriented/Functional Programming language on the JVM. Using Scala, you can create traditional imperative programs, intermix them with Java code, and at the same time take advantage of higher levels of abstraction. You can use features that lead to concise, highly expressive code that remove the pain of dealing with concurrency.
Programming Scala will show you the fundamentals of functional programming using Scala. Very quickly, you’ll learn how this statically typed language can give you dynamic capabilities to create concise, scalable, highly capable concurrent code.
Pragmatic programmers always use the right tool for the job. For concurrent programming on the Java VM, Scala is the tool, and Programming Scala by award-winning author Venkat Subramaniam is your guide.
Each of our books has its own dedicated discussion area, where readers help each other out. Many authors also choose to drop by.
Here are some recent topics:
Contents & Extracts
- Getting Started
- Getting up to speed in Scala excerpt
- Classes in Scala
- Sensible Typing excerpt
- Function Values and Closures
- Traits and Type Conversions excerpt
- Using Collections
- Pattern Matching and Regular Expressions
- Concurrent Programming
- Intermixing with Java
- Unit Testing With Scala
- Exception Handling
- Using Scala
- Web Resources
Brought to You By
Venkat Subramaniam, founder of Agile Developer, Inc., has trained and mentored thousands of software developers in the US, Canada, Europe, and Asia. Venkat helps his clients effectively apply and succeed with agile practices on their software projects. He is a frequently invited speaker at international software conferences and user groups.
He’s author of .NET Gotchas (O’Reilly), coauthor of the 2007 Jolt Productivity award-winning book Practices of an Agile Developer (Pragmatic Bookshelf), and author of Programming Groovy (Pragmatic Bookshelf).