User loginNavigation |
ScalaEffective ScalaBy Ehud Lamm at 2012-02-07 18:41 | Scala | Software Engineering | 11 comments | other blogs | 8583 reads
Announcing Ozma: extending Scala with Oz concurrencyI am happy to announce the release of Ozma, a conservative extension to Scala that adds Oz concurrency. Ozma was developed as a master's thesis by Sébastien Doeraene under my supervision (see the implementation and the master's thesis). Oz is a multi-paradigm language that has strong support for concurrent and distributed programming. It compiles to its own virtual machine (called Mozart) that supports dataflow synchronization and lightweight threads. Scala is a functional and object-oriented language with implementations for the JVM and .Net. It is completely interoperable with Java. Ozma is an attempt at making the concurrency concepts of Oz available to a larger public. Ozma implements the full Scala specification and runs on the Mozart VM. It can therefore be seen as a new implementation of Scala. Ozma extends Scala with dataflow variables (allowing tail-recursive list functions), declarative (deterministic) concurrency, lazy declarative concurrency, and message-passing concurrency based on ports. Almost all the concurrency examples of CTM can be translated easily to Ozma. We can say that Ozma lifts the duality of Scala, namely the combination of functional and object styles, to concurrent programming. Scala Team Wins ERC Grant
This may yet lead to very interesting developments. By Ehud Lamm at 2011-01-10 15:13 | Parallel/Distributed | Scala | 25 comments | other blogs | 9691 reads
Type Classes as Objects and ImplicitsType Classes as Objects and Implicits
Martin Odersky and team's design decisions around how to do type classes in a unified OO and FP language continue to bear fascinating fruit. Implicits look less and less like "poor man's type classes," and more and more like an improvement upon type classes, in my opinion given a quick read of this paper. By Paul Snively at 2010-08-04 22:25 | Implementation | Object-Functional | Scala | Type Theory | 50 comments | other blogs | 19355 reads
Compiling Structural Types on the JVMHere's a little sausage making article for JVM language implementors. In Compiling Structural Types on the JVM: A Comparison of Reflective and Generative Techniques from Scala’s Perspective, Gilles Dubochet and Martin Odersky describe
There's no discussion of the the proposed JVM "method handles" and whether they might be an even better solution than runtime reflection. Whiteoak was mentioned previously on LtU. By James Iry at 2010-06-30 15:18 | Cross language runtimes | Implementation | Scala | 5 comments | other blogs | 7360 reads
Scala Lift Off 2009Last year, Ehud said the only reason he missed the Scala Lift Off was because it didn't have enough marketing. So this year I'm spam^h^h^h^h posting it on the LtU front page.
Further details and registration are at the conference site. I'll add comments to this topic as more information becomes available. Communicating Scala ObjectsI wouldn't normally think a library is LtU material, but since this one lives at the intersection of embedded DSLs, process calculi, and a spotlight language, I think it fits: Communicating Scala Objects, Bernard Sufrin, Communicating Process Architectures 2008.
If you would like to play with it, the library can be downloaded here. By James Iry at 2008-09-03 22:47 | DSL | Parallel/Distributed | Scala | 4 comments | other blogs | 5808 reads
Generics of a Higher KindGenerics of a Higher Kind. Adriaan Moors, Frank Piessens, and Martin Odersky.
Many readers will already be aware that Scala has added support for higher-kinded generics, related to Haskell's type constructor classes. I believe Scala is the first language to provide this capability in an OO "generics" framework. This ECOOP submission presents this work, with many practical examples. (Consider this penance for my last post...) By Matt Hellige at 2007-12-20 19:54 | Object-Functional | Scala | 3 comments | other blogs | 25692 reads
David Pollak on liftThe video and slides of David Pollak's BayFP presentation on lift are available online.
While the thrust of the talk is on lift as a web framework, you get a very nice intro to Scala along the way, and David even mentions a quick way to get a PLT PhD, for those interested in that sort of thing... By Ehud Lamm at 2007-11-15 00:03 | Javascript | Ruby | Scala | 15 comments | other blogs | 7401 reads
A Real-World Use of Lift, a Scala Web Application Framework
I promise that "Dave Pollak" is not a pseudonym for "Paul Snively." Update: I guess the self-deprecating humor hasn't worked, some 400+ reads later. Although the caveat that Dave offers about trying to objectively compare his own framework with Ruby on Rails is well-taken, I think that this nevertheless is an important marker in applying a very PLT-driven language and framework, Scala and lift, to a very realistic application, especially given that it's a rewrite from a currently-popular language and framework, Ruby and Rails. We admitted proponents of static typing and weird languages are constantly being asked for this sort of thing, and while it's doubtful that this adds anything to the PLT discussion per se—at least until we have a chance to dig into lift and see how Scala's design uniquely supports it—I thought people might find the Scala connection worth commenting on. By Paul Snively at 2007-03-22 16:06 | Object-Functional | Scala | Software Engineering | XML | 36 comments | other blogs | 77428 reads
|
Browse archivesActive forum topics |