<commit_before>---
layout: blog-page
title: Announcing Dotty 0.1.2, a major step towards Scala 3
author: <NAME>
authorImg: /images/petrashko.jpg
---

Today, we’re excited to release the first alpha version of Dotty.
This release is a technology preview demonstrating new language features, we are
interested in feedback from both application and library authors willing to
experiment with it.


<!--more-->

## Why is this important?

17 months have passed since Dotty first [bootstrapped](http://dotty.epfl.ch/blog/2015/10/23/dotty-compiler-bootstraps.html).
Back then, Dotty was just an ambitious experiment, but we're now feeling
confident that the underlying technology is solid, and thus are ready to
announce that Dotty will be the basis of Scala 3.0.

## How can you try it out?

You have several alternatives: use the `sbt-dotty` plugin, get a standalone
installation, or try it online on [Scastie](https://scastie.scala-lang.org/).

### sbt
Using sbt 0.13.13 or newer, do:

```
sbt new lampepfl/dotty.g8
```

This will setup a new sbt project with Dotty as compiler. For more details on
using Dotty with sbt, see the
[example project](https://github.com/lampepfl/dotty-example-project).

### Standalone installation

Releases are available for download on the _Releases_
section of the Dotty repository: https://github.com/lampepfl/dotty/releases.

We also provide a [homebrew](https://brew.sh/) package that can be installed by running

```
brew install lampepfl/brew/dotty
```

### Scastie

[Scastie](https://scastie.scala-lang.org/), the online Scala playground,
supports Dotty. To try it out:
1. Click on `Build Settings` in the menu on the left
2. Under `Target`, click on `Dotty`
3. That's it!

  
# What’s in the 0.1.2 technology preview ?
This technology preview demonstrates new language features planned for Scala 3:
 
  - [Intersection Types](http://dotty.epfl.ch/docs/reference/intersection-types.html)
  - [Union Types](http://dotty.epfl.ch/docs/reference/union-types.html)
  - [Trait Parameters](http://dotty.epfl.ch/docs/reference/trait-parameters.html)
  - [Enumerations](http://dotty.epfl.ch/docs/reference/enums.html)
  - [Algebraic Data Types](http://dotty.epfl.ch/docs/reference/adts.html)
  - [By-Name Implicits](http://dotty.epfl.ch/docs/reference/implicit-by-name-parameters.html)

We also ship with tools that help you try out the Dotty platform:

  - [Visual Studio Code Plugin](http://dotty.epfl.ch/docs/usage/ide-support.html)
  - [SBT support, including crosscompilation with Scala2](https://github.com/lampepfl/dotty-example-project)<commit_msg>Version number clarifications<commit_after>---
layout: blog-page
title: Announcing Dotty 0.1.2-RC1, a major step towards Scala 3
author: <NAME>
authorImg: /images/petrashko.jpg
---

Today, we’re excited to release the first alpha version of Dotty, version 0.1.2-RC1.
This release is a technology preview demonstrating new language features, we are
interested in feedback from both application and library authors willing to
experiment with it.


<!--more-->

## Why is this important?

17 months have passed since Dotty first [bootstrapped](http://dotty.epfl.ch/blog/2015/10/23/dotty-compiler-bootstraps.html).
Back then, Dotty was just an ambitious experiment, but we're now feeling
confident that the underlying technology is solid, and thus are ready to
announce that Dotty will be the basis of Scala 3.0.

## How can you try it out?

You have several alternatives: use the `sbt-dotty` plugin, get a standalone
installation, or try it online on [Scastie](https://scastie.scala-lang.org/).

### sbt
Using sbt 0.13.13 or newer, do:

```
sbt new lampepfl/dotty.g8
```

This will setup a new sbt project with Dotty as compiler. For more details on
using Dotty with sbt, see the
[example project](https://github.com/lampepfl/dotty-example-project).

### Standalone installation

Releases are available for download on the _Releases_
section of the Dotty repository: https://github.com/lampepfl/dotty/releases.

We also provide a [homebrew](https://brew.sh/) package that can be installed by running

```
brew install lampepfl/brew/dotty
```

### Scastie

[Scastie](https://scastie.scala-lang.org/), the online Scala playground,
supports Dotty. To try it out:
1. Click on `Build Settings` in the menu on the left
2. Under `Target`, click on `Dotty`
3. That's it!

  
# What’s in the 0.1.2-RC1 technology preview ?
This technology preview demonstrates new language features planned for Scala 3:
 
  - [Intersection Types](http://dotty.epfl.ch/docs/reference/intersection-types.html)
  - [Union Types](http://dotty.epfl.ch/docs/reference/union-types.html)
  - [Trait Parameters](http://dotty.epfl.ch/docs/reference/trait-parameters.html)
  - [Enumerations](http://dotty.epfl.ch/docs/reference/enums.html)
  - [Algebraic Data Types](http://dotty.epfl.ch/docs/reference/adts.html)
  - [By-Name Implicits](http://dotty.epfl.ch/docs/reference/implicit-by-name-parameters.html)

We also ship with tools that help you try out the Dotty platform:

  - [Visual Studio Code Plugin](http://dotty.epfl.ch/docs/usage/ide-support.html)
  - [SBT support, including crosscompilation with Scala2](https://github.com/lampepfl/dotty-example-project)
{'fraction_non_alphanumeric': 0.11556920714148589, 'fraction_numerical': 0.012670378191591477, 'mean_word_length': 4.262626262626263, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3520534', 'n_tokens_mistral': 1739, 'n_tokens_neox': 1642, 'n_words': 549}