Recap

We can program concurrency in any language on the JVM. In this chapter, we learned the following:

  • The Akka Java API can be readily used from multiple JVM languages including JRuby.

  • GPars brings Groovy elegance and Java performance to programming concurrency.

  • Pattern matching messages is not the only option; we can overload the message handler methods based on the message types in GPars.

  • When mixing APIs, we’ll run into a few language-level integration issues but nothing that’s insurmountable.

  • While we program concurrency, we can continue to enjoy the expressive and conciseness syntax of these modern JVM languages.

We’ve come a long way! In the next chapter, we’ll wrap up with recommendations for programming concurrency.

Get Programming Concurrency on the JVM now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.