dotty VS Slick

Compare dotty vs Slick and see what are their differences.


The Scala 3 compiler, also known as Dotty. (by lampepfl)


Scala Language Integrated Connection Kit. Slick is a modern database query and access library for Scala (by slick)
Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • SaaSHub - Software Alternatives and Reviews
dotty Slick
52 6
4,964 2,520
1.0% 0.2%
9.9 9.0
1 day ago 11 days ago
Scala Scala
Apache License 2.0 BSD 2-clause "Simplified" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of dotty. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-28.
  • Eval 0.1.0 released
    4 projects | | 28 Mar 2022
    A more limited way to do runtime evaluation is via the jsr-223 support:, you can't reflect on types that way but the advantage is that you don't end up depending on compiler-internals APIs that could change in any patch release.
    4 projects | | 28 Mar 2022 points to which seems to be doing some caching via, but I have zero experience with this stuff.
    4 projects | | 28 Mar 2022
    Note though that our jsr-223 support is currently a bit limited compared to the scala 2 version:
  • Issues setting up Scala 3 on Windows w/Coursier
    3 projects | | 14 Mar 2022
    If you could open an issue at detailing your problems with the bash shell on Windows that would be useful (it's likely our scripts have only been tested with the cmd.exe shell).
  • Is there any way to have a curried function with generic parameters?
    1 project | | 5 Mar 2022
  • [Scaladoc, Scala3] Question about special character in URL in new Scaladoc in Scala3
    2 projects | | 2 Mar 2022
    That seems like a bug. Could you open an issue at
    2 projects | | 2 Mar 2022
  • Scala 3 Reflection
    5 projects | | 1 Feb 2022
    - If you can't generate a quotation and need any strings, then the next option - add compiler to the classpath and use JSR223 scripting API: (example :
  • Autowire/sloth replacements for Scala 3
    1 project | | 18 Jan 2022
    The main blocker for such libraries is now, that also blocks cats-tagless, and hopefully it will be fixed in near future. So if you can wait several months, it would be the easiest choice... so do I :)
  • GraalVM native-image with Scala 3 reflection hell
    3 projects | | 9 Jan 2022
    See, maybe the graalvm reflection config format could be enriched to support wildcards if it doesn't already?


Posts with mentions or reviews of Slick. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-04-21.
  • Scala: A Love Story
    4 projects | | 21 Apr 2021
    I purchased the very entertaining book Seven Languages in Seven Weeks. Although I found Haskell fascinating and tempting, I knew it was unrealistic to introduce it in our company. Scala on the other hand looked like it could be the holy grail: All the characteristics I was looking for, no need to abandon the JVM and its cornucopia of tools and libraries, and the possibility for coexistence with Java and therefore incremental adoption. After implementing some simple programs to identify any immediate risks of committing to the language and its ecosystem, I started to introduce Scala in customer projects. Luckily, I was fortunate enough to work with open-minded, curious, and ambitious team members who were also experienced enough to appreciate the benefits of the language. We immediately applied our experience with functional programming, and embraced immutability. Libraries like Slick and Akka HTTP (we actually started out with its predecessor, Spray) made building database-backed REST services a breeze. And the resulting code was robust and highly maintainable. Scala's expressive type system and type inference made it easy to build a restrictive, consistent domain model without bloating the code. There was virtually no overhead. Any boilerplate could be easily abstracted out. In the end, the application code felt natural, concise and elegant. Programming was fun again.
  • Scala 3.0.0-RC2 Has Landed
    5 projects | | 30 Mar 2021
    Slick is community-maintained these days. It appears likely this PR adding Scala 3 support will cross the finish line before too much longer:
  • Just getting started with scala. Should i start with Scala 2 or just skip to scala 3 right away ?
    1 project | | 22 Mar 2021
    re: Slick, hopefully will land soon-ish. Stefan did much of the work himself a while back; now a volunteer is trying to put the finishing touches on.
  • From First Principles: Why Scala?
    11 projects | | 11 Feb 2021
    The two major SQL libraries in the Scala ecosystem these days are Doobie ( and Slick (

    With Doobie you manually write your queries, and then map the results into the objects in your domain model. Nothing is generated for you. OTOH, nothing is hidden and you are free to write queries as optimized and specialized as you need. The real selling point of Doobie is a typesafe API for manipulating and combining queries, and fragments of queries, into larger wholes. This works very well when your application interfaces with a database it doesn't own.

    With Slick you get access to a DSL that lets you layout how your tables look. From there Slick offers an api that let's you treat SQL tables as-if they are basically mutable collections, with Slick handling all the SQL generation itself. You also get DDL, so that you can automate db creation and upgrades. This work very well when your application owns and controls the database it is connecting to.

    Both of these have diverged from that traditional ORM model. Slick bills itself as FRM, or Functional Relational Mapping. And Doobie is embedded queries on steroids.

    11 projects | | 11 Feb 2021
    they never said that, but it's basically abadonware. look at the commit history: you can also look at the contributors page: the guys who primarly contributed to it basically left lightbend, and in 2019 he shifted his priorities.
  • Objection to ORM Hatred
    6 projects | | 9 Feb 2021
    Many ORMs introduce a somewhat messy, complicated abstraction layer that doesn't actually get you the desired benefit in statically typed languages - compile time safety. Mainly because most languages do not have sufficiently powerful type systems.

    Exceptions are libraries like persist [1] for Haskell, Slick [2] for Scala, and - with caveats - Diesel [3] for Rust.

    But: manually mapping between the database domain and your domain objects is also a messy, error prone process that is wasted effort.

    My preferred solution is to stick with simple ORMs that just do simple mapping and provide a convenient query builder, without any heavy magic in the objects or any sort of automatic relationship logic (automatic fetching of joins, ...).




What are some alternatives?

When comparing dotty and Slick you can also consider the following projects:

doobie - Functional JDBC layer for Scala.

Quill - Compile-time Language Integrated Queries for Scala

ScalikeJDBC - A tidy SQL-based DB access library for Scala developers. This library naturally wraps JDBC APIs and provides you easy-to-use APIs.

Squeryl - A Scala DSL for talking with databases with minimum verbosity and maximum type safety

Anorm - The Anorm database library

Sorm - A functional boilerplate-free Scala ORM

Clickhouse-scala-client - Clickhouse Scala Client with Reactive Streams support

sbt - sbt, the interactive build tool

Phantom - Schema safe, type-safe, reactive Scala driver for Cassandra/Datastax Enterprise

Scalatex - Programmable, Typesafe Document Generation

scalajs-benchmark - Benchmarks: write in Scala or JS, run in your browser. Live demo:

scalafmt - This repo is now a fork of --->