Wednesday, 18 November 2015

Concurrent Groovy

The topic Concurrency is and always will form one of the integral part of any programming language, be it Java, Groovy, Scala etc.

What I have always felt, that this thing is one of the key factors in determining how powerful the programming language is and at the same time whenever we come across this term, the thing which comes to our mind is:



Yes!!!! To me, the topic Concurrency be it in any language, at first it becomes difficult for me to get the ideas behind all the concepts, but as I keep on learning and keep on solving puzzles then things turns out to be more and more intersting and engaging.

So I always consider Concurrency to be a rivetting theme.

Now, the Concurrency in Java using Thread model which we all have experienced more or less, differs well with the natural human sense for parallelism.

Now Why Concurrency is becoming an integral part of any computing that we do?
Beacuse due to advent and fast propagation of MULTICORE CPU's, which is almost a commonplace routine nowadays.

So It is now high time that we should immediately embrace and ratify those means which will not respect the sense of parallelism that we create in our brain but also mental models of Concurrent systems interactions.

Propitiously Groovy replenish such awesome features.

The Concurrency traits that Groovy comes up with are as follows:-



1) Concurrent Parallel Collections.
2) Dataflow.
3) Actor.
4) CSP (Continuous Sequential Processing).
5) Fork and Join.
6) Agent.
7) Async Method Call.
That's Nice


I tried to explore some of these splendid concepts and I am really Impressed!!!!!. Thanks to GPars and Groovy. I will share my experience with some code blocks which I have followed to find out how these elements work. Keep a close WATCH on this space for something really interesting......
View Subhankar Paul's profile on LinkedIn

No comments:

Post a Comment