|
| 1 | +--- |
| 2 | +layout: blog-page |
| 3 | +title: Announcing Dotty 0.3.0-RC1 |
| 4 | +author: Allan Renucci |
| 5 | +authorImg: /images/allan.jpg |
| 6 | +date: ??? |
| 7 | +--- |
| 8 | + |
| 9 | +Today, we are excited to release Dotty version 0.3.0-RC1. This release |
| 10 | +serves as a technology preview that demonstrates new language features |
| 11 | +and the compiler supporting them. |
| 12 | + |
| 13 | +This release is based on the [previous milestone](/blog/2017/07/12/second-dotty-milestone-release.html). |
| 14 | +The highlights of this release are: |
| 15 | + - improvements in VS Code IDE stability |
| 16 | + - making erasure pass `Ycheck` |
| 17 | + |
| 18 | +<!--more--> |
| 19 | + |
| 20 | +This is our third scheduled release according to our [6-week release schedule](http://dotty.epfl.ch/docs/usage/version-numbers.html). |
| 21 | + |
| 22 | +## What’s in the 0.3.0-RC1 technology preview? |
| 23 | +The [previous technology preview](/blog/2017/07/12/second-dotty-milestone-release.html) improved |
| 24 | +stability and reliability: |
| 25 | + - substantial improvement of quality of generated code for pattern matching |
| 26 | + - improvements in VS Code IDE stability |
| 27 | + - support Windows in VS Code IDE |
| 28 | + - improved compatibility with scalac |
| 29 | + - initial support for reproducible builds |
| 30 | + |
| 31 | +This technology preview further improves stability and reliability. Some highlighted PRs are: |
| 32 | + - IDE bug fixes: |
| 33 | + [#2986](https://github.com/lampepfl/dotty/pull/2986), |
| 34 | + [#2932](https://github.com/lampepfl/dotty/pull/2932), |
| 35 | + [#2885](https://github.com/lampepfl/dotty/pull/2885), |
| 36 | + [#2876](https://github.com/lampepfl/dotty/pull/2876), |
| 37 | + [#2870](https://github.com/lampepfl/dotty/pull/2870), |
| 38 | + [#2872](https://github.com/lampepfl/dotty/pull/2872) by [@odersky] and [@smarter]. |
| 39 | + - Making erasure pass Ycheck, [#2927](https://github.com/lampepfl/dotty/pull/2927) by [@smarter]. |
| 40 | + |
| 41 | + |
| 42 | +## How can you try it out? |
| 43 | +We ship with tools that help you try out the Dotty platform: |
| 44 | + |
| 45 | + - [IDE features for Visual Studio Code](http://dotty.epfl.ch/docs/usage/ide-support.html) |
| 46 | + - [sbt support, including retro-compatibility with Scala 2](https://github.com/lampepfl/dotty-example-project) |
| 47 | + |
| 48 | + |
| 49 | +You have several alternatives; use the `sbt-dotty` plugin, get a standalone |
| 50 | +installation, or try it online on [Scastie]. |
| 51 | + |
| 52 | +### sbt |
| 53 | +Using sbt 0.13.13 or newer, do: |
| 54 | + |
| 55 | +``` |
| 56 | +sbt new lampepfl/dotty.g8 |
| 57 | +``` |
| 58 | + |
| 59 | +This will setup a new sbt project with Dotty as compiler. For more details on |
| 60 | +using Dotty with sbt, see the |
| 61 | +[example project](https://github.com/lampepfl/dotty-example-project). |
| 62 | + |
| 63 | +### Standalone installation |
| 64 | + |
| 65 | +Releases are available for download on the _Releases_ |
| 66 | +section of the Dotty repository: |
| 67 | +[https://github.com/lampepfl/dotty/releases](https://github.com/lampepfl/dotty/releases) |
| 68 | + |
| 69 | +We also provide a [homebrew](https://brew.sh/) package that can be installed by running: |
| 70 | + |
| 71 | +``` |
| 72 | +brew install lampepfl/brew/dotty |
| 73 | +``` |
| 74 | + |
| 75 | +In case you have already installed Dotty via brew, you should instead update it: |
| 76 | + |
| 77 | +``` |
| 78 | +brew upgrade dotty |
| 79 | +``` |
| 80 | + |
| 81 | +### Scastie |
| 82 | + |
| 83 | +[Scastie], the online Scala playground, supports Dotty. |
| 84 | +You can try it out there without installing anything. |
| 85 | + |
| 86 | + |
| 87 | +## What are the next steps? |
| 88 | + |
| 89 | +Over the coming weeks and months, we plan to work on the following topics: |
| 90 | + |
| 91 | + - [Add support for using Dotty generated classes with Scala 2.12](https://github.com/lampepfl/dotty/pull/2827) |
| 92 | + - [Add Language-level support for HMaps and HLists](https://github.com/lampepfl/dotty/pull/2199); |
| 93 | + - Upstream more optimizations from Dotty Linker |
| 94 | + - [Add support for existing in the same classpath with Scala 2.12](https://github.com/lampepfl/dotty/pull/2827) |
| 95 | + - [Add native Dotty REPL](https://github.com/lampepfl/dotty/pull/2991) |
| 96 | + |
| 97 | +If you want to get your hands dirty with any of this, now is a good |
| 98 | +moment to get involved! Join the team of contributors, including |
| 99 | +Martin Odersky ([@odersky]) |
| 100 | +Dmitry Petrashko ([@DarkDimius]), |
| 101 | +Guillaume Martres ([@smarter]), |
| 102 | +Felix Mulder ([@felixmulder]), |
| 103 | +Nicolas Stucki ([@nicolasstucki]), |
| 104 | +Liu Fengyun ([@liufengyun]), |
| 105 | +Olivier Blanvillain ([@OlivierBlanvillain]), |
| 106 | +Aggelos Biboudis ([@biboudis]), |
| 107 | +Allan Renucci ([@allanrenucci]), |
| 108 | +and others! |
| 109 | + |
| 110 | +## Library authors: Join our community build |
| 111 | + |
| 112 | +Dotty now has a set of libraries that are built against every nightly snapshot. |
| 113 | +Currently this includes scalatest, squants and algebra. |
| 114 | +Join our [community build](https://github.com/lampepfl/dotty-community-build) |
| 115 | +to make sure that our regression suite includes your library. |
| 116 | + |
| 117 | + |
| 118 | +To get started, see [https://github.com/lampepfl/dotty](https://github.com/lampepfl/dotty). |
| 119 | + |
| 120 | + |
| 121 | +[Scastie]: https://scastie.scala-lang.org/?target=dotty |
| 122 | + |
| 123 | +[@odersky]: https://github.com/odersky |
| 124 | +[@DarkDimius]: https://github.com/DarkDimius |
| 125 | +[@smarter]: https://github.com/smarter |
| 126 | +[@felixmulder]: https://github.com/felixmulder |
| 127 | +[@nicolasstucki]: https://github.com/nicolasstucki |
| 128 | +[@liufengyun]: https://github.com/liufengyun |
| 129 | +[@OlivierBlanvillain]: https://github.com/OlivierBlanvillain |
| 130 | +[@OlivierBlanvillain]: https://github.com/OlivierBlanvillain |
| 131 | +[@biboudis]: https://github.com/biboudis |
| 132 | +[@biboudis]: https://github.com/biboudis |
| 133 | +[@allanrenucci]: https://github.com/allanrenucci |
0 commit comments