Truly standalone Scala scripts
summary
TSK (The Scripting Kit) creates truly standalone Scala scripts by prepending a shell preamble disguised as a Scala comment that bootstraps boot.tsk, uses coursier to download a JDK and artifacts, and invokes bloop to compile and exec the resulting JVM program. It runs on Linux, macOS and WSL, works on a clean Fedora container by auto-installing JDK and tooling, caches builds for fast re-runs, generates bloop configs for IDE support, and plans GraalVM native compilation plus Mill/sbt export.
AI-written summary · about
chapters (9)
- 0:00Introduction and motivation
- 1:22State of Scala scripting
- 6:52Introducing TSK Scripting Kit
- 11:11Demo of TSK in action
- 17:25Running TSK in Docker
- 20:20How TSK works under the hood
- 22:56Handling dependencies in TSK
- 27:54Future plans for TSK
- 31:47Credits and Q&A
related talks
24mBatteries-included Scala with Scala Toolkit
53mScala with batteries included
44mMeet bloop and get more productive with Scala
47mDesign Challenges of Bloop
49mHow to Get Started with Scala?
39mMeet Bloop and Get More Productive with Scala
22mScript Kit: The Ultimate Open Source Dev Kit
34mComplex Problems, Simple (build)tool
