What types are special to the Scala compiler or runtime?

From the URL:

Q: Scala makes a big deal about how what seem to be language features are implemented as library features. Is there a list of types that are treated specially by the language?

A: The following types are crucial to Scala's type system. They have an influence on how type checking itself is performed.

It’s interesting that you can do some research on this by looking at Definitions.scala.

Scala SBT scalacOptions syntax/examples

As a quick note to self, here’s an example of how to set scalacOptions in an SBT build.sbt file:

scalacOptions ++= Seq(

As shown, scalacOptions lets you set Scala compiler options in your SBT project build.

How to speed up Scala compilation times with scalac-profiling alvin June 5, 2018 - 11:49am has an article titled Speeding Up Compilation Time with `scalac-profiling` where they demonstrate how they reduced a project’s compilation time from 32.5 seconds down to 4 seconds. In addition to all of the scalac and profiling details, it demonstrates a nice use of flamegraphs.

The Scala compiler, getting faster alvin May 26, 2018 - 1:17pm

This chart shows the results of the efforts to make the Scala compiler faster over the last several years.

Scala 2.12.5 compiler flag to let the backend run in parallel alvin May 14, 2018 - 6:19pm

I haven’t tried it yet, but as a note to self, Scala 2.12.5 introduced a new -Ybackend-parallelism N compiler flag with which “the backend can now run in parallel on N threads.”