• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Scala concurrent programming

 
Greenhorn
Posts: 29
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, Nilanjan Raychaudhuri.

I attended DevNexus last week, and a number of the presentations that talked to concurrent (i.e., thread safe) programming used Scala for their code demos and slides. Can you provide a high-level summary of the Scala language features that simplify concurrent programming over conventional Java?

Thank you.
 
Bartender
Posts: 2407
36
Scala Python Oracle Postgres Database Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Before Nilanjan replies with a more expert view, here's a couple of starting points. Scala uses an "Actor"-based approach to concurrency, which provides a higher level of abstraction than threads and spares you all the details of locking, synchronisation etc. The Akka library provides an event-driven framework for concurrency based on Actors, and is available for both Scala and Java. Combining this with a more functional approach to programming is seen as a way to implement robust and maintainable concurrent functionality more easily.
 
Rob Ivan
Greenhorn
Posts: 29
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you, Chris.
reply
    Bookmark Topic Watch Topic
  • New Topic