Kostas Kougios | 4 Dec 01:02

scalaconcurrency: A wrapper for java.util.concurrent

Hi all,

   I would like to announce the first public release of this library.
A wrapper around some of the java.util.concurrent classes of JDK5,6 &
7. Currently manages executors and locks and there are usage examples
on the library's home page:

https://code.google.com/p/scalaconcurrency/

The library wraps fixed, cached and scheduled thread pools, completion
services, reentrant locks and read/write locks. Also offers convenient
lifecycle methods for easily creating, using and shutting down
executors.

Quick examples follows:

---
val executorService = ExecutorServiceManager.newScheduledThreadPool(5)
...
// schedule a task to run after 500 milliseconds
val future = executorService.schedule(500, TimeUnit.MILLISECONDS) {
        .... calculate something
}
val result=future.get
...
executorService.shutdownAndAwaitTermination(1)
---

val lock = LockManager.readWriteLock
val result=lock.writeLockAndDo {
(Continue reading)

Graham Lea | 21 Dec 11:06
Gravatar

SodaTest 0.2.1 Released

SodaTest (Spreadsheet-Driven Testing) is an open-source framework for creating Executable Requirements for Integration, Functional and Acceptance testing using Scala or Java. More info in the README: https://github.com/GrahamLea/SodaTest/blob/master/README.md

Major changes in 0.2.1 include:
  • SodaTest artefacts are now available from Maven Central
  • Coercions can now be created in Java without any knowledge of Scala
  • Built-in support was added for coercing strings into Java enums
  • An implicit function is available for converting into a Coercion from any function with the type: (String) => _
  • A CurrencyAmountCoercion and CurrencyAmountCoercionForJava are now available for coercing a variety of financial value formats into your own custom Currency or Money class
  • Reports no longer report a mismatch due to trailing empty cells in the actual output
  • A bunch of usability fixes such as handling unusual situations, reporting better error messages, correct usage messages, more scaladoc and READMEs.
Official announcement here: http://grahamhackingscala.blogspot.com/2011/12/sodatest-021-released.html

SodaTest 0.2.1 is built against Scala 2.8.x and has no external dependencies.

All feedback is welcome! either via GitHub or directly to graham-hTVnwT/20IuB+jHODAdFcQ@public.gmane.org

Peter Vlugter | 16 Dec 02:50
Picon

Announce: Akka 2.0 Pre-release Milestone 1

Ladies and gentlemen, Scalars and hAkkers,

We, the Akka committers, are proud to announce the availability of Akka 2.0 pre-release Milestone 1.

We invite you to take it for a spin. It's the next generation of Akka!

The creation of Akka 2.0 has been based on feedback received from users, the good and the bad. The problems
users have had, the missing features, and also what users really like about Akka, have all informed the new Akka.

In the coming months we will continue to improve Akka 2.0 based on your feedback. We're in the process of
developing migration guidelines.

You can read more about this first milestone of Akka 2.0 here: http://blog.typesafe.com/akka-20-pre-release-milestone-1

Highlights of Akka 2.0 Milestone 1:

* Asynchronous by design - most actor related operations are now asynchronous

* Removing all global state - introducing ActorSystem

* Mandatory Parental Supervision - fault-tolerant default and automatic

* Remote Supervision - children spawned on other nodes are supervised

* Actor Tree Hierarchy - file-system like addressing, with wildcards etc.

* Props - Actor configuration is immutable, sharable and reusable

* Futures & Promises - simpler and more powerful, blocking API refactored out

* Actor Routing - completely revamped, load balancing made much simpler

* Death Watch - react to the death of any actor

* Typed Actors - 0 dependency JDK Proxy based implementation

* EventBus API - publish-subscribe to anything you want

* Extensions - add new functionality to Akka

* Pluggable remote transport layer - Netty/TCP built-in

* General API unification and simplification - less to remember

* Simpler actor life-cycle semantics and management

* Slimmer footprint - around 2.7 million Actors per GB of memory

* Lots of performance and scalability improvements

Akka is released under the Apache V2 license.

Akka website: http://akka.io

Akka Maven repository: http://akka.io/releases

Akka binary distribution: http://akka.io/downloads

Akka 2.0-M1 documentation: http://akka.io/docs/akka/2.0-M1

Issue tracker: https://www.assembla.com/spaces/akka/milestones/528841-2-0-m1

What’s coming in the next milestone: https://www.assembla.com/spaces/akka/milestones/752523-2-0-m2

Akka mailing list: https://groups.google.com/group/akka-user

And as usual... happy hAkking!
Kostas Kougios | 29 Dec 19:52

ScalaScriptEngine

Hi all,

	I am happy to announce scalascriptengine, a scala library that can be
used to on-the-fly compile and load scala classes from their source
files. The library can be embedded in servers and allow modified scala
code to be reloaded without the need to redeploy.

Examples and documentation can be found at the projects home page:

http://code.google.com/p/scalascriptengine/

Regards,

Kostas


Gmane