# Migrating to Scala 3

**URL:** <https://users.scala-lang.org/t/migrating-to-scala-3/6150>\
**Category:** Question\
**Created:** [June 4, 2020, 6:56am UTC](https://users.scala-lang.org/t/migrating-to-scala-3/6150 "2020-06-04T06:56:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubaut](https://users.scala-lang.org/user_avatar/users.scala-lang.org/dubaut/32/1152_2.png) [@dubaut](https://users.scala-lang.org/u/dubaut)\
**Post date:** [June 4, 2020, 6:56am UTC](https://users.scala-lang.org/t/migrating-to-scala-3/6150/1 "2020-06-04T06:56:51Z")

</div>

I am still fairly new to Scala and working on my very first project where all code I write myself will be Scala (that said: I of course continue to use libraries written in Java).

I am now wondering at what point I should move on to Scala 3. I think, the smaller the code base is the easier the migration will be which would mean an early switch.

On the other hand, since I am not a Scala expert yet, every problem I have would be first be checked if it is something I do wrong with Scala or a bug in Scala 3.

What are your thoughts on that?

---

<div class="post-metadata">

**Author:** ![curoli](https://users.scala-lang.org/user_avatar/users.scala-lang.org/curoli/32/1753_2.png) [@curoli](https://users.scala-lang.org/u/curoli)\
**Post date:** [June 4, 2020, 11:54am UTC](https://users.scala-lang.org/t/migrating-to-scala-3/6150/2 "2020-06-04T11:54:17Z")

</div>

Are you also going to use libraries written in Scala? If yes, then you would have to wait for those to become available for Scala 3. Continuing to use Java libraries should not be a problem as long as these are available in a recent version of Java.

---

<div class="post-metadata">

**Author:** ![jducoeur](https://users.scala-lang.org/user_avatar/users.scala-lang.org/jducoeur/32/462_2.png) [@jducoeur](https://users.scala-lang.org/u/jducoeur)\
**Post date:** [June 4, 2020, 12:41pm UTC](https://users.scala-lang.org/t/migrating-to-scala-3/6150/3 "2020-06-04T12:41:58Z")

</div>

I think it depends on what you’re doing it for. If it’s mainly for fun and self-education, it might be worth trying in Scala 3, since that’s the future.

But for anything more serious, I’d say it’s premature. As @curoli points out, only a modest number of libraries have been ported to Scala 3 yet, so there are likely to be some roadblocks there. Perhaps more importantly, it’s still a moving target: while the Scala 3 language is gradually settling down, it’s nowhere near complete yet – it’s certain that some details are still subject to change, and it wouldn’t surprise me if code written today would need to be adjusted a couple of times before 3.0 is actually released.

---

<div class="post-metadata">

**Author:** ![Jasper-M](https://users.scala-lang.org/user_avatar/users.scala-lang.org/jasper-m/32/872_2.png) [@Jasper-M](https://users.scala-lang.org/u/Jasper-M)\
**Post date:** [June 4, 2020, 12:48pm UTC](https://users.scala-lang.org/t/migrating-to-scala-3/6150/4 "2020-06-04T12:48:11Z")

</div>

IIUC Scala 2.13 libraries can be used in Scala 3 projects but not yet the other way around.

---

<div class="post-metadata">

**Author:** ![dubaut](https://users.scala-lang.org/user_avatar/users.scala-lang.org/dubaut/32/1152_2.png) [@dubaut](https://users.scala-lang.org/u/dubaut)\
**Post date:** [June 4, 2020, 12:54pm UTC](https://users.scala-lang.org/t/migrating-to-scala-3/6150/5 "2020-06-04T12:54:09Z")

</div>

At this stage of the project I will probably use only Akka and lightbend-config as a Scala dependency.

---

<div class="post-metadata">

**Author:** ![dubaut](https://users.scala-lang.org/user_avatar/users.scala-lang.org/dubaut/32/1152_2.png) [@dubaut](https://users.scala-lang.org/u/dubaut)\
**Post date:** [June 4, 2020, 12:55pm UTC](https://users.scala-lang.org/t/migrating-to-scala-3/6150/6 "2020-06-04T12:55:31Z")

</div>

Thank you! It’s both self-education and serious, but the focus is on latter so I think I will stick with Scala 2 then.
