The exciting new version of Scala 3 brings many improvements and new features. Scala 3 is a complete overhaul of the Scala language. At its core, many aspects of the type-system have been changed to be more principled. While this also brings exciting new features along (like union types), first and foremost, it means that the type-system gets (even) less in your way and for instance type-inference and overload resolution are much improved. One underlying core concept of Scala was (and still is to some degree) to provide users with a small set of powerful features that can be combined to great (and sometimes even unforeseen) expressivity. For example, the feature of implicits has been used to model contextual abstraction, to express type-level computation, model type-classes, perform implicit coercions, encode extension methods, and many more. Learning from these use cases, Scala 3 takes a slightly different approach and focuses on intent rather than mechanism.

Features

  • You can try Scala 3 in your browser with Scastie
  • If you already have sbt installed, you can create a Scala 3 project and sbt will take care of the rest
  • You can install all necessary dependencies with coursier
  • You can manually install Scala 3 on your computer
  • The fastest way to create a new project in Scala 3 is using sbt (1.1.4+)
  • To try it in your project see also the Getting Started User Guide

Project Samples

Project Activity

See All Activity >

Categories

Compilers

License

Apache License V2.0

Follow Dotty

Dotty Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Dotty!

Additional Project Details

Operating Systems

Linux, Windows

Programming Language

Scala

Related Categories

Scala Compilers

Registered

2021-11-24