3.4 million lines of code in the Scala 2.13 build

Scala 2 community build is now complete

Maika Möbus
Scala 2
© Shutterstock / metamorworks

The Scala 2 community build has been pronounced complete. We took a closer look at the general goals of the open source community build, what the latest version has in store, and what the Scala team has planned for the future of the general-purpose programming language.

In a blog post, Seth Tisue from the Scala team at Lightbend announced that the Scala 2 community build has reached its goals and is now complete.

SEE ALSO: Top Java technologies in 2020 – JVM programming languages, IDEs, tools & more

But before we dive deeper into the features of the current Scala 2 community build, let’s first see what the community build is all about.

Why have a Scala community build?

In an introductory post from 2018, Seth Tisue explained what the community build is and what purpose it serves:

It’s a collection of open-source Scala code that includes many of the most-used libraries in the Scala ecosystem. […] The goal is to enable Scala the language and Scala the ecosystem of libraries to evolve in tandem with each other.

The community build is maintained primarily by the Scala team at lightbend. The maintainers compile the codebases, run the test suites, and use “freshly built Scala” to have the builds depend on each other.

Additionally, pull requests for the Scala language are assessed by running them in the community build. In the past, this process has helped catch regressions and discover compatibility issues.

For more information and to get in touch with the Scala community, check out the wiki on GitHub, the forum or the Gitter chat room.

Scala 2 community build

The Scala 2 community build has been pronounced complete for several reasons. For example, it has successfully supported the release of Scala 2.13 that arrived last year and will also be able to support upcoming 2.13.x releases.

The 2.13 build consists of 209 repos with 3.4 million lines of code and takes around 9 hours to run. It will continue to be maintained throughout the lifetime of Scala 2 and is now 100% green on JDK 11. The team is also working on JDK 14 support, but currently two repos still fail on the early-access build.

See Seth Tisue’s blog post for further details on the Scala 2 community build.

Scala roadmap

Meanwhile, Scala 3 is under construction as well. Dotty—which we wrote about in January—now contains 25 repos, and thereby 15 more than a year ago.

SEE ALSO: Scala 3 arrives in 2020: How can you prepare for the big update?

Scala 2.14 has been canceled in favor of allowing a faster Scala 3 development process. Scala 2.13 and 3.0 will share their standard library and ABI (application binary interface). A Scala 3 release candidate is expected to arrive by the end of the year.

Maika Möbus
Maika Möbus has been an editor for Software & Support Media since January 2019. She studied Sociology at Goethe University Frankfurt and Johannes Gutenberg University Mainz.

Inline Feedbacks
View all comments