Quick Search
Browse
Pages
Blog
Labels
Attachments
Mail
Advanced
What’s New
Space Directory
Feed Builder
Keyboard Shortcuts
Confluence Gadgets
Log In
Sign Up
Dashboard
gpars (Groovy Parallel Systems)
Copy Page
You are not logged in. Any changes you make will be marked as
anonymous
. You may want to
Log In
if you already have an account. You can also
Sign Up
for a new account.
This page is being edited by
.
Paragraph
Paragraph
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Preformatted
Quote
Bold
Italic
Underline
More colours
Strikethrough
Subscript
Superscript
Monospace
Clear Formatting
Bullet list
Numbered list
Outdent
Indent
Align left
Align center
Align right
Link
Table
Insert
Insert Content
Image
Link
Attachment
Symbol
Emoticon
Wiki Markup
Horizontal rule
tinymce.confluence.insert_menu.macro_desc
Info
JIRA Issue
Status
Gallery
Tasklist
Table of Contents
Other Macros
Page Layout
No Layout
Two column (simple)
Two column (simple, left sidebar)
Two column (simple, right sidebar)
Three column (simple)
Two column
Two column (left sidebar)
Two column (right sidebar)
Three column
Three column (left and right sidebars)
Undo
Redo
Find/Replace
Keyboard Shortcuts Help
<p>The GPars framework offers Java developers intuitive and safe ways to handle Java or Groovy tasks concurrently. Leveraging the enormous flexibility of the <a href="http://groovy.codehaus.org/">Groovy programing language</a> and building on proven Java technologies, we aim to make concurrent programming for multi-core hardware intuitive, robust and enjoyable.</p><h1>GPars - 'coz concurrency is Groovy</h1><p>The traditional thread-based concurrency model built into Java doesn't match well with the natural human sense for parallelism. While this was not a problem at times, when the level of parallelism in software was low and concurrency offered only limited benefits compared to sequential code, nowadays, with the number of cores on a single main-stream chip doubling almost every year, sequential code quickly looses ground and fails to compete in performance and hardware utilization with concurrent code.<br /> Inevitably, for concurrent programming to be effective, the mental models of concurrent systems interactions that people create in their heads have to respect the nature of human brains more than the wires on the chips. Luckily, such abstractions have been around for several decades, used at universities, in telephone switches, the super-computing industry and some other inherently concurrent domains. The current challenge for GPars is to bring these abstractions up to the mainstream software developers to help us solve our practical daily issues.</p><p>The framework provides straightforward Java or Groovy-based APIs to declare, which parts of the code should be performed in parallel. Collections can have their elements processed concurrently, closures can be turned into composable asynchronous functions and run in the background on your behalf, mutable data can be protected by agents or software transactional memory.</p><p>For the common scenario that one or multiple results are calculated concurrently but need to be processed as soon as they are available, GPars makes it a breeze to correctly model this with <a class="confluence-link" href="/display/GPARS/Dataflow" data-linked-resource-id="130514962" data-linked-resource-type="page" data-linked-resource-default-alias="Dataflow" data-base-url="http://docs.codehaus.org">Dataflow</a>. Dataflow variables and channels gives you a handy abstraction of single-assignment multiple-read data elements, while dataflow operators let you build efficient concurrent data-processing networks.</p><p>The concept of <a class="confluence-link" href="/display/GPARS/Actor" data-linked-resource-id="131432522" data-linked-resource-type="page" data-linked-resource-default-alias="Actor" data-base-url="http://docs.codehaus.org">Actor</a>s as an approach to organizing concurrent activities has recently gained new popularity (thanks to the Scala, Erlang, and other programming languages). GPars implements this concept for Java and Groovy developers. With actors support you can quickly create several independent Actors, which consume messages passed to them and communicate with other actors by sending them messages. You then build your solution by combining these actors into a communication network.</p><p>Please refer to the <a class="confluence-link" href="/display/GPARS/User+Guide" data-linked-resource-id="130777228" data-linked-resource-type="page" data-linked-resource-default-alias="User Guide" data-base-url="http://docs.codehaus.org">User Guide</a> for a more extensive coverage of these topics or head over to the <a class="confluence-link" href="/display/GPARS/Demos" data-linked-resource-id="130777226" data-linked-resource-type="page" data-linked-resource-default-alias="Demos" data-base-url="http://docs.codehaus.org">Demos</a>.</p><p><span style="color: rgb(0,0,0);"><strong>Let the fun begin!</strong></span></p><h3>Main Areas</h3><ul><li><a class="confluence-link" href="/display/GPARS/Parallelizer" data-linked-resource-id="130514971" data-linked-resource-type="page" data-linked-resource-default-alias="Parallelizer" data-base-url="http://docs.codehaus.org">Concurrent collection processing</a></li><li><a class="confluence-link" href="/display/GPARS/Asynchronizer" data-linked-resource-id="130514968" data-linked-resource-type="page" data-linked-resource-default-alias="Asynchronizer" data-base-url="http://docs.codehaus.org">Composable asynchronous functions</a></li><li><a class="confluence-link" href="/display/GPARS/ForkJoin" data-linked-resource-id="136675435" data-linked-resource-type="page" data-linked-resource-default-alias="ForkJoin" data-base-url="http://docs.codehaus.org">Fork/Join abstraction</a></li><li><a class="confluence-link" href="/display/GPARS/Actor" data-linked-resource-id="131432522" data-linked-resource-type="page" data-linked-resource-default-alias="Actor" data-base-url="http://docs.codehaus.org">Actor</a> programming model</li><li><a class="confluence-link" href="/display/GPARS/Dataflow" data-linked-resource-id="130514962" data-linked-resource-type="page" data-linked-resource-default-alias="Dataflow" data-base-url="http://docs.codehaus.org">Dataflow concurrency constructs</a></li><li><a class="confluence-link" href="/display/GPARS/CSP" data-linked-resource-id="213320155" data-linked-resource-type="page" data-linked-resource-default-alias="CSP" data-base-url="http://docs.codehaus.org">CSP</a></li><li><a class="confluence-link" href="/display/GPARS/Agent" data-linked-resource-id="131432512" data-linked-resource-type="page" data-linked-resource-default-alias="Agent" data-base-url="http://docs.codehaus.org">Agent</a> - an thread-safe reference to mutable state</li><li><a class="confluence-link" href="/display/GPARS/STM" data-linked-resource-id="210469155" data-linked-resource-type="page" data-linked-resource-default-alias="STM" data-base-url="http://docs.codehaus.org">STM</a> (Software Transactional Memory)</li></ul><h3>Project's main priorities</h3><ul><li>Clever and clean design</li><li>Elegant Java and Groovy APIs</li><li>Flexibility through meta-programming</li><li>Application-level solutions that scale with number of cores</li></ul><h3>Fast Track</h3><p>If you want to start experimenting with GPars right away, use our Fast Track to get up and running within minutes.</p><ul><li><a class="confluence-link" href="/display/GPARS/Groovy+Fast+Track" data-linked-resource-id="190021745" data-linked-resource-type="page" data-linked-resource-default-alias="Groovy Fast Track" data-base-url="http://docs.codehaus.org">Groovy Fast Track</a></li><li><a class="confluence-link" href="/display/GPARS/Java+Fast+Track" data-linked-resource-id="190021766" data-linked-resource-type="page" data-linked-resource-default-alias="Java Fast Track" data-base-url="http://docs.codehaus.org">Java Fast Track</a></li><li><a class="confluence-link" href="/display/GPARS/Grails+and+Griffon+Fast+Track" data-linked-resource-id="190021779" data-linked-resource-type="page" data-linked-resource-default-alias="Grails and Griffon Fast Track" data-base-url="http://docs.codehaus.org">Grails and Griffon Fast Track</a></li></ul><h3>What people say about GPars</h3><p>Check out the <a class="confluence-link" href="/display/GPARS/User+Voices" data-linked-resource-id="131727647" data-linked-resource-type="page" data-linked-resource-default-alias="User Voices" data-base-url="http://docs.codehaus.org">User Voices</a> to hear the opinions of people walking here before you.</p><h3>Licencing</h3><p>GPars is distributed under the open-source <a href="http://www.apache.org/licenses/LICENSE-2.0.html">Apache 2 License</a>. By using GPars you accept fully the terms stated in the license. For full details, please see the <a href="http://www.apache.org/licenses/LICENSE-2.0.html">Apache 2 License</a> document.</p><p> </p>
Please type the word appearing in the picture.
Attachments
Labels
Location
Watch this page
< Edit
Preview >
Loading…
Save
Cancel
Next hint
search
attachments
weblink
advanced