A Call for 'Fresh Scala'
A Call for 'Fresh Scala'
Join the DZone community and get the full member experience.Join For Free
How do you break a Monolith into Microservices at Scale? This ebook shows strategies and techniques for building scalable and resilient microservices.
Pollak clearly explained the reasoning behind this new initiative:
"As traits change, the classes that depend on those traits "break" unless they are recompiled. This means that as Scala grows and evolves, all the libraries that sit on top of Scala must be recompiled against the latest version of Scala. This has presented a significant challenge as Scala 2.8 has evolved. Each of the layers necessary to compile libraries (e.g., Scala -> ScalaCheck -> ScalaTest -> Specs -> Lift) must be compiled against the same version of Scala. Because of this issue, it's been challenging to keep the growing number of Scala libraries up to date with Scala 2.8."
Here are some points on how the Fresh Scala initiative works:
- Paul Phillips maintains the "Fresh Scala" branch of Scala in his GitHub repository. He will merge stable trunk changes into the Fresh Scala branch.
- The Scala Tools build system will pull changes from this repository and build "Fresh" versions of Scala as Paul applies patches to this branch.
- The following libraries will be built against the Fresh version of Scala: Akka, Lift, ScalaCheck, Scala Modules, ScalaTest, ScalaZ, Simple Build Tool, and Specs.
- If any of the dependent libraries fail to compile and/or pass tests, the library maintainers will make reasonable efforts to fix their code within 24 hours.
- Every Sunday night (Pacific Time), a Fresh Milestone will be released of Scala and the above packages.
- The snapshot and milestone releases will be available via Maven, Ivy, SBT, etc. in the scala-tools.org maven repository.
The benefits to the Scala community will be three-fold:
- Scala will be continuously tested against popular libraries.
- There will be better feedback into the EPFL about the status of the Scala language.
- The weekly stream of fresh milestones will allow bleeding-edge applications to be in sync with Scala 2.8 (and other pre-release versions). More extensive testing of frameworks, libraries, and apps will be the result.
By coincidence, DZone asked Pollak many weeks before the announcement about his hopes and dreams for the future of Scala and its ecosystem:
"I think 2.8 has just scratched the surface of what can be done with higher kinded types and implicits. I think that there are a number of places that Scala can grow to give library authors more flexibility to deliver libraries that look and feel more like dynamic language libraries.
In terms of the ecosystem, the biggest thing I see is Scala consultancies popping up and some of the larger consulting shops starting to practice Scala. Ultimately, no language can reach mainstream until you can find an arbitrary number of coders, otherwise the risk of using the language is too great."
Pollak says you can keep track of the initiative on the Google group page. Over the next few weeks the Fresh Scala contributors will build out the infrastructure and start releasing builds. An announcement will go out when everyone can start using the builds.
Opinions expressed by DZone contributors are their own.