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

Поділитися
Вставка
  • Опубліковано 3 жов 2024
  • Scala CLI (scala-cli.virt...) 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.
    2022.scala.love
    / scala_love

КОМЕНТАРІ • 1

  • @donwinston
    @donwinston 10 місяців тому

    At first I thought this cli feature would be great for our very large cli system. We are seriously considering converting all our TCL code to Scala/Java. But now I don’t think so. We should use Maven and target all our Scala and Java code to native binary files and run each file with a simple ./xyz -arg1 -arg2 … Shouldn’t we be able to do this without any shell scripting?