How to prevent Scala 3 compiler regressions with Community Build

Click for: original source

We always assume the language compiler’s or interpreter’s impeccability when writing code in any programming language. Just as any other program, it might contain inconsistencies with its specification or subtle bugs. By Wojciech Mazur.

The article then dives into:

  • How does the compiler team test Scala?
  • Increasing the coverage of the Scala 3 Community Build
  • How does Open Community Build work?
  • Infrastructure and general flow
  • How to create a build plan
  • Execute the plan
  • Collecting the results of projects compiled with a new version like Scala 3
  • Impact of the Scala 3 Open Community Build

In author’s biew: We believe the Scala 3 compiler version should be treated as any other external dependency. We should always try to use the latest version whenever possible. The latest versions of Scala should improve performance or fix security vulnerabilities. Basically, bumping up the version shouldn’t be associated with troubleshooting, especially in terms of Scala’s minor versions. Good read!

[Read More]

Tags scala programming akka java web-development