Scivolo 0.3.0 released β now with JVM and Scala.js backends
Scivolo 0.3.0 is out, and a lot has happened since the last post:
- Couldn't resist: besides the Native/interpreter backend there is now a JVM and a Scala.js backend.
- The JVM backend builds the Scala 3.9.0 standard library and compiler from their sources: no Scala compiler or Scala jar involved, just a JDK. The compiler built this way passes dotty's tests/run like the published one (1,617 of 1,618), and it compiles the standard library again. Only difference is i11114 which would need Scala 2's specialized tuple classes and is out of scope.
- On the compiler's files, it is 1.3x faster than a cold scalac in wall time and uses about the same CPU as a warm one (still working on it). On small codebases it is much faster than a cold scalac.
- It compiles some of our own libraries: usql and Kreuzberg, passing their ScalaTest-Suites. Also some internal applications.
- The Scala.js backend passes 98% of dotty's tests/run, parts of the JS interop are still missing.
- The own frontend now passes 1,504 of dotty's tests/run in the interpreter (990 at the last post), and native executables build for 308 of 318 test programs.
- Scivolo also runs in the browser: https://reactivecore.github.io/scivolo/
Disclaimer
- Code is ported and written by Claude and only in small parts human checked. We mainly wrote and ordered Tickets and provided the CI.
Try it out locally in a SBT 1.x Scala 3.9.0 Project
- On OSX/Linux and JDK 17+
- Either download the binary Distribution or compile using
just dist(Rust setup needed) - Note: OSX Binary Distributions are not signed.
- Install the SBT Plugin with
just sbt-plugin-publish-local - Add the plugin to plugins.sbt
addSbtPlugin("net.reactivecore" % "sbt-scivolo" % "0.3.0")(or 0.3.0-SNAPSHOT if not on a tag) - Enable it in
build.sbt:enablePlugins(ScivoloPlugin) - Set
SCIVOLO_HOMEto the distribution, e.g.$CHECKOUT/tmp/dist/scivolo-0.3.0-macos-arm64 - Example here for usql
Thanks to the Scala team. We love the language. And I am interested in your opinion :)



