~/talk

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

Talkat Scala Love 2022 · on Friday, 2022-02-18· [scala, developer-experience]
links:none on file
slides:none on file

Scala CLI claims to replace the scala command for single-module projects by running, testing, packaging and cross-compiling without an external build file; it downloads a JVM (Temurin 17), starts bloop and Coursier automatically, fetches Scala versions on demand and compiles a 3x2 matrix to run six test suites. A demo builds a small ASCII-art CLI, adds a dependency, produces JVM, JS and native executables, and publishes artifacts to a local Maven layout; an export to sbt/mill exists but has rough edges.

AI-written summary · about

  1. 0:00Introduction to Scala CLI
  2. 2:09Why create Scala CLI
  3. 7:20Comparison with other tools
  4. 11:38Installing Scala CLI
  5. 13:48Demo setup and first run
  6. 19:13Writing a CLI application
  7. 23:18Cross-platform compilation
  8. 26:50Turning code into a library
  9. 28:42Adding tests
  10. 31:19Cross-compilation for libraries
  11. 33:57Packaging applications
  12. 35:42Publishing libraries
  13. 39:59When to use Scala CLI
  14. 42:09Switching to build tools
  15. 44:15Future of Scala CLI
  16. 46:18Q&A and closing
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.