The GPars (Groovy Parallel Systems) project provides multiple abstractions for concurrent, parallel programming in Groovy and Java. Rather than dealing directly with threads, synchronization, and locks, or even the java.util.concurrent classes added in Java 5, the project allows you to think in terms of actors, data flows, or composable asynchronous functions (to name a few).If you're a fan of Groovy and will be in the Boston-area, I hope you'll attend. If you can't, I'll be posting a link to the slides here when they're ready.
In this talk, I'm planning to cover the basics of GPars, including what it's like to learn to use it. Although I've done a fair amount of concurrent programming, I've just started using GPars. As such, this talk should be suitable for Groovy beginners.
In the presentation, I'll be referring to several resources I found helpful. Here are links to each of them:
- Groovy in Action 2nd Edition (aka ReGinA) Chapter 17 - http://manning.com/koenig2/
- GPars User Guide - http://gpars.org/guide/
- GPars User Mailing List - http://email@example.com
- Dierk König's presentation (Concurrent programming for you and me) - http://skillsmatter.com/podcast/groovy-grails/concurrent-programming-for-you-and-me
- Alex Miller's DevWorks article - http://www.ibm.com/developerworks/java/library/j-gpars/index.html
- Václav Pech's blog - http://www.jroller.com/vaclav/
Update: Here are the slides from my talk. Sadly, I forgot to record the audio to go along with it.