This post originated from an RSS feed registered with Java Buzz
by Franco Martinig.
Original Post: Groovy and Concurrency with GPars
Feed Title: Java Software Development Videos and Tutorials Directory
Feed URL: http://www.java-tv.com/feed/
Feed Description: Java-TV.com is a directory of videos, interviews and tutorials focused on software development activities with the Java programming language.
This talk looks at using Groovy for writing multi-threaded, concurrent and parallel programs. We’ll briefly look at leveraging legacy Java techniques such as multiple processes, multiple threads, the java.util.concurrent APIs and shared-state atomicity. We’ll then look as some useful AST transforms in core Groovy (Lazy, Synchronized, Immutable, WithReadLock and WithWriteLock) before divign headlong into GPars. GPars is a comprehensive library for parallel execution that provides a menu of options to the developer.
The different choices available have pros and cons depending on the circumstances. We’ll look at the parallel collection support ...