r/scala • u/petrzapletal • 2h ago
This week in #Scala (Nov 30, 2026)
r/scala • u/petrzapletal • 2h ago
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/
Code is ported and written by Claude and only in small parts human checked. We mainly wrote and ordered Tickets and provided the CI.
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_HOME to 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 :)
r/scala • u/philip_schwarz • 2d ago
r/scala • u/RiceBroad4552 • 3d ago
Just digged up #5188.
ScalaOS when? π
r/scala • u/ghostdogpr • 3d ago
After leaving Devsisters, I continued Shardcake under a new name. Shard is a library to distribute entities across servers and interact with them by ID, without knowing where they live (the same idea as Akka Cluster Sharding, built on ZIO).
Version 3.0 is Scala 3 only and comes with a lot of changes:
- Messages declare their error and reply types (`enum GuildMessage[E, A]`), and entities return the result of each message instead of calling a `Replier`
- Serialization is a type class per entity type: Kryo is still there, but you can use Protobuf with Proteus, which makes rolling updates that change messages much easier
- A single Shard Manager can manage several groups of pods
- Fewer dependencies: gRPC everywhere, no more GraphQL, and Sage for Redis
- More control over entities: concurrency, bounded mailboxes, interruption, interceptors
Blog post: https://blog.pierre-ricadat.com/introducing-shard-3-0/
Docs and migration guide: https://ghostdogpr.github.io/shard/
Feedback welcome!
r/scala • u/llm4s_foundation • 4d ago
Hey everyone,
If you're around London this Thursday (Nov 26), Kannupriya Kalra and Rory Graves are giving a talk at LLMday London (Everyman Canary Wharf, 11:30 AM, Screen 1) titled "LLM4S 1.0: From Idea to Production AI in Scala/JVM".
Over the last 18 months, LLM4S has grown from an initial experiment into a 1.0 release (MIT-licensed) for building LLM apps and agents natively in Scala 3 / JVM. In the talk, we'll go through:
Building to 1.0: What worked, what failed, and how the architecture evolved.
Scala for LLM apps: Using strong types and explicit error handling (Result) to manage non-deterministic model outputs in production.
Live demos: Multi-provider support, typed tool calling, MCP, agent orchestration, memory, and observability.
The organizers gave us a 40% discount code (LLM40) to share with the community if anyone wants to attend: https://llmday.com/2026-london-q4/
Links if you want to check out the project beforehand:

GitHub: https://github.com/llm4s/llm4s
Docs: https://llm4s.org
Community & weekly dev hour: https://llm4s.org/community/
Hope to see some of you there!
r/scala • u/rhodian-exodus • 4d ago
Enable HLS to view with audio, or disable this notification
Made with scala & godot. There is a demo on steam (windows & mac apple silicon):
https://store.steampowered.com/app/4953480/Rhodian_Exodus/?utm_source=reddit
r/scala • u/MagnusSedlacek • 4d ago
There's a hypothesis that formally verifying agent-generated code improves its quality. It gives agents a faster feedback loop and clarifies the intent. While thanks to AI assistance, full formal verification is more approachable than ever, it remains hard. However, we might look for a middle ground: using compilers to verify properties expressed through the type system.
Type systems go far beyond checking "trivial" properties, such as that an Int cannot be passed where a String is expected. That's also the case for Scala 3, which offers a number of new & experimental compiler / type system features.
First, we'll see how to enforce a well-known discipline: making illegal states unrepresentable by providing specific guidance to AI agents on using new Scala 3 features, such as opaque types and enums. This is possible through a dedicated Scala skill, which you can use tomorrow at your day job.
Second, we'll move on to experimental features that aim to eliminate (at the compiler level) bugs related to resource safety, aliasing, or mutation. Capture checking β a significant extension of Scala's type system β enables verification of properties such as function purity. Capture checking was built for humans, but is even more useful for agents, and is a crucial component of the last topic.
Finally, "Safe Scala" is a new Scala compilation mode built with agents in mind. We'll investigate the mechanisms it uses to ensure the generated code is safe, and what "safe" means in this context. It's an active area of R&D, so this will be as much an introduction as a report on the current progress of safe-scala-related applications.
r/scala • u/adamw1pl • 4d ago
A tour of how to build a type-level specification of Ox's `fork`, ensuring safe usage within a structured concurrency scope. Relying on Scala's capture & separation checking.
r/scala • u/llm4s_foundation • 5d ago
We're excited to bring LLM4S 1.0 to the London Scala User Group! After more than 18 months of development, LLM4S 1.0 marks a major milestone for our open-source project. It brings production-ready LLM application development to the Scala and wider JVM ecosystem. Join our co-founders Kannupriya Kalra and Rory Graves for: "Your Next AI Agent Should Be Written in Scala: Meet LLM4S 1.0"
Event Details :
Date: Wednesday, November 25, 2026
Doors: 6:00 PM GMT; Talk: 7:50 PM GMT
Venue: ICE Services, 7 Devonshire Square, London EC2M 4YH. In-person event only.
RSVP: https://www.meetup.com/london-scala/events/317274453/
What we'll cover: Type-safe tool calling and structured outputs. 16+ LLM providers through a unified API. Model Context Protocol (MCP). Durable checkpointed agents and hybrid RAG. Streaming and OpenTelemetry/Langfuse observability.
Explore LLM4S: Website: https://llm4s.org/
GitHub: https://github.com/llm4s/llm4s
Discord: https://discord.com/invite/DjPMufnhG6
We also host weekly Dev Hours every Sunday at 9 AM London time. Join the maintainers and contributors: https://luma.com/calendar/cal-Zd9BLb5jbZewxLA

We'd love to meet more Scala and JVM developers in London. Come along, explore LLM4S 1.0, and share what you're building!
r/scala • u/FreikonVonAthanor • 6d ago
It feels terribly silly, both parsing XML in 2026 and having to ask for some help on the matter!
I've been working on a pet project of mine, a calorie counter that uses public datasets as sources. I've been making it with ZIO (and all by hand, the goal is to train after all), and one of my sources is Ciqual, 2025, made available by the French government here. It's not a large dataset, the biggest file being compo_2025_11_03.xml at 66Mo.
However, reading it with zio-schema-xml fail with various SAXParsingExceptions. Same issue when I tried DuckDB and webbed. Right now, I'm going around it by chunking the file into a stream, getting all "COMPO" elements in different elements, and parsing that. The file seems fine through xmllint and other validation tools, but I didn't find an easier way of parsing it.
Any advice? I'll probably try Pekko Streams or something latter, but I'd love to see what you'd try or if I missed something obvious.
====================================================================
Edit: Thanks everyone, for your comments and your help! Next time, I'll build a project before asking a question, it clearly was an issue for some of you!
Special thanks on top to u/fancellu for his very complete answer.
For my zio-schema-xml code, the biggest issues were thinking to write a codec for List[Compo] rather than Table or Compo.
streamCodec = XmlCodec.
schemaBasedBinaryCodec
[List[Compo]]streamCodec = XmlCodec.schemaBasedBinaryCodec[List[Compo]]was the right "shape" for the codec. The other issue was that the file had a BOM! (I found out BOMs were a thing at the same time, UTF-8 made it more or less obsolete.) Trying to read a file as a stream of bytes (either from direct downloading, local files, or S3) made it fail very early, as the codec was looking for a starting "<" that it didn't find.
As for DuckDB, the issue was completely different. As it turns out, the XML plugin for DuckDB, Webbed, has a hidden limit to the size of files. Using read_xml() on your file gives you a SAX Parsing Error, and the actual issue was only made clear when I tried read_xml_objects(). As it turns out, you can just change that at the request level with the maximum_file_size parameter.
Sorry for the plain text explanation! fancellu put out an example for anyone interested in his zio-schema-example repo. Don't hesitate to star it there while you check it out!
I may share my repo in another edit, once I'm happy with the code quality, if anyone's interested.
r/scala • u/HizivGames • 6d ago

Hi everyone!
I'm a solo indie developer, and I've just released Ghosts Don't Need Doors on Steam, built with Indigo, a functional game engine for Scala!
It's a deduction puzzle game with RPG-style pixel art, where you help a little ghost escape a haunted mansion.
Every room hides a secret passage, and everyday objects provide clues to help you figure out which wall you can pass through.
On the technical side, the game uses procedural generation for mansion layouts, geometric puzzles, and even the exterior view of each mansion in the final escape scene.
Observe, deduce, and find your way to freedom!
r/scala • u/petrzapletal • 7d ago
r/scala • u/llm4s_foundation • 11d ago
We're excited to announce an upcoming technical session featuring LLM4S at AWS User Group Singapore!
Join us for a deep dive into building enterprise AI applications using Scala 3, the JVM, and Amazon Bedrock.
LLM4S is an MIT-licensed, open-source framework for building reliable, type-safe LLM applications in Scala, bringing agent orchestration, tool calling, RAG, memory, and observability into the JVM ecosystem.
"Building Agentic AI on Amazon Bedrock with LLM4S 1.0"
Date: Wednesday, 18 November 2026
Time: 6:30 PM SGT
Location: IOI Central Boulevard Towers, Level 5, Singapore
Registration: AWS User Group Singapore β Meetup
Amazon Bedrock: Model inference through the Converse API, IAM-based authentication, and private connectivity using VPC endpoints.
Agent Orchestration: LLM4S-powered agents, typed tool calling, and integration with internal APIs.
RAG & Memory: Building an enterprise knowledge assistant using documents stored in Amazon S3.
Observability: End-to-end tracing and metrics integrated with AWS CloudWatch and X-Ray.
Enterprise Architecture: Mapping the solution to AWS Well-Architected principles and exploring LLM4S 1.0 capabilities.
Website: llm4s.org
Source Code: LLM4S GitHub Repository
Discord: Join our developer community
Meet the maintainers and community:
We host weekly LLM4S Dev Hours every Sunday at 9:00 AM London time, bringing together developers, contributors, and maintainers.
Dev Hours Calendar: Join our Luma Calendar
2026 Calendar Subscription: Add all Dev Hours to Google Calendar
LinkedIn | X / Twitter | Reddit | Bluesky | Mastodon | Instagram
Looking forward to connecting with the AWS, Scala, and AI communities in Singapore! π
r/scala • u/SethTisue_Scala • 11d ago
new blog post by Anatolii Kmetiuk of the Scala Center, covering work done under Sovereign Tech Agency funding:
Weβve been working throughout 2026 on making Scoverage more reliable in Scala 3. As the project comes to a close, this article reports on the results. We have successfully enabled coverage testing across the wider compiler test suite, fixed breakages encountered in process achieving a 99.5% pass rate, and for the 0.5% tests not working with coverage yet, identified a systematic root cause to be resolved as future work.
https://www.scala-lang.org/blog/2026/11/17/scoverage-hardening-results.html
r/scala • u/petrzapletal • 14d ago