Alex Archambault - Scala CLI a more powerful Scala command to get rid of build tools

Опубликовано: 17 Январь 2025
на канале: Konfy
983
19

Scala CLI (https://scala-cli.virtuslab.org/) is a new project initiated by VirtusLab mid-2021. It's still experimental and ultimately aims at replacing the current `scala` command.

It aims at lowering the barrier to entry to Scala, allowing beginners and experienced users alike to "do Scala" or create new Scala projects without needing to go through - or even master - a build tool.

It focuses on single-module projects only and has a very simple command-line interface and configuration format (inlined in Scala sources).
It supports:

Scala.JS and Scala Native
Multiple Scala versions
Cross-compilation
Running / testing / packaging code
IDE integration in Metals
and publishing (to Maven Central) is in the works.

That makes it the perfect tool to manage micro-libraries, Scala scripts, and single-module applications.

In this talk, we should discuss the motivations for creating it, illustrate some of its features, and discuss some of the choices that were made while developing it.

https://2022.scala.love
  / scala_love