/quasar-groovy

Groovy implementation with Quasar support

Primary LanguageJavaApache License 2.0Apache-2.0

quasar-groovy

Quasar is a library that provides scalable, lightweight threads for the JVM (see references below for links to more information). Groovy is a powerful, optionally typed and dynamic language for the Java platform. This package integrates Quasar with Groovy, enabling the use of Quasar's elegant programming model from Groovy.

Getting Started

First, you must build Groovy with Quasar support:

mvn clean install

Then, in an application that uses the Groovy replace original dependency:

<dependency>
	<groupId>org.codehaus.groovy</groupId>
	<artifactId>groovy</artifactId>
	<version>2.4.1</version>
</dependency>

on

<dependency>
	<groupId>org.codehaus.groovy</groupId>
	<artifactId>groovy</artifactId>
	<version>2.4.1.x</version>
	<classifier>quasar-support</classifier>
</dependency>

Architecture

This package contains the original version of Groovy 2.4.1, which has been treated with Quasar InstrumentedTask.

References

The ParallelUniverse blog is a good source of information about Quasar:

Copyright

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Attribution

This library includes open source from the following sources: