A free, once-weekly Scala news flash. Easy to unsubscribe. Goes out every Thursday.
September 13th, 2024, ISSUE 549

READING

Capabilities for Control

In my talk I show how we can use capabilities to model effects, how we can control the lifetime of capabilities, and how that provides a simple and expressive foundation to compose control effects flexibly.
Martin Odersky (@Odersky)
sudori part 5

I’ve implemented remote test caching for sbt 2.x that stores test success results across machine boundaries. testQuick, which can replace test only runs the tests that have been invalidated by input changes. Unlike sbt 1.x, the PR uses Merkle tree to perform the invalidation, which makes it hermetic to share across the machines. Caching the test result can speedup the CI jobs by orders of magnitude.
Eugene Yokota (@eed3si9n)

EVENTS

Scalar 2025 Call for Papers is open!

Join us on the stage of Scalar 2025! You can suggest up to 3 talks related to Scala and Functional Programming.
Scalar Conference (@scalarconf)
Unison Forall, Sept 20th, remote conference

Whether you're a seasoned Unison developer or just curious about the future of programming, this conference is a chance to explore the friendly and powerful world of Unison, a language designed from the ground up to simplify modern software development.
Unison (@unisonweb)
Lambda World. Oct 2nd - 4th, Cadiz, Spain

Don't miss he largest Functional programming event in South Europe!
Lambda World (@lambda_world)
Call for Speakers - Art of Scala, Oct 10th, Warsaw, Poland

Don't miss this live (+online) Scala conference in a great venue in central Warsaw! Call for Speakers ends Sept 10th.
Evolution Engineering + ScalaWAW
Scala.IO, Nov 7th-8th, Paris

This edition brings us together in Paris for two days, with a multi-session structure and a large community space. With a great venue, wonderful speakers, and a lot of surprises, we are looking forward to meeting you there!
Scala.IO (@ScalaIO_FR)

VIDEOS

Scala Space Podcast: Smithy and IDL universe

In this episode of Scala Space Podcast we will discuss Interface Definition Languages and how Smithy, IDL from AWS, solves problems of inter-service communication. Our guest, Olivier Melois, is the author of Smithy4s, Smithy code generator for Scala.
Olivier Melois, Łukasz Biały (@baccata64)

RELEASES

usql

A micro JDBC toolit for Scala 3.
Norbert Schultz
Mill 0.12.0-RC1

Mill is a fast JVM build tool that supports Java and Scala. 2-3x faster than Gradle and 5-10x faster than Maven for common workflows, Mill aims to make your project’s build process performant, maintainable, and flexible.
Li Haoyi (@li_haoyi)
dotty-cps-async 0.9.22

This is the implementation of async/await transformation for Scala 3 (Dotty), based on an optimized version of CPS (Continuation Passing Style) transformation, where the continuation is ‘pushed’ to the monad.
Ruslan Shevchenko (@rssh1)
zio-http v3.0.0

The first real production-ready release with stable API.
zio-http contributors
OS-Lib 0.10.7

OS-Lib is a simple, flexible, high-performance Scala interface to common OS filesystem and subprocess APIs. New version allows multi-segment paths segments for literals.
Li Haoyi (@li_haoyi)
lohika

An experimental proof generator.
Melvic Ybanez
ZZSpec

A Scala library with great ZIO integration to help you easily write high-level integration/black box tests. ZZSpec tests help you grow your confidence in the correctness of software.
Josep Bigorra





  1. Scala Times Issue #557

    What is Functional Programming?. Announcing Akka 3. Idiomatic dependency injection for ZIO applications in Scala. ZIO in 2025. Upcoming Changes to Givens in Scala 3.7.


  2. Scala Times Issue #556

    Benchmark results: jsoniter-scala vs simdjson-java . Scalar 2025 extends call for papers!. Scala.IO, Nov 7th-8th, Paris. Functional Scala CFP, Dec 5th, online event. 10% discount for Scala Times readers for Functional Scala conference!.


  3. Scala Times Issue #555

    (In)Validating Library Design. Postmortem of Scala 3.6.0. How to implement LETS on ChainCash. Scalar 2025 extends call for papers!. Scala.IO, Nov 7th-8th, Paris.


  4. Scala Times Issue #554

    SoftwareMill Open Source Bounties. Scala: a mature open-source project. Folding Cheat Sheet #8 - Folding with Monoids . Simple Contract-First Applications. Scalar 2025 extends call for papers!.


  5. Scala Times Issue #553

    Direct-style concurrent streaming. Open com-lihaoyi issue bounties. Scala Project Maintenance Survey. Scalar 2025 extends call for papers!. Scala.IO, Nov 7th-8th, Paris.


  6. Scala Times Issue #552

    Optimal Scalafmt configuration using Genetic Algorithms. Cancellable HTTP requests via Scala's Tapir. Game of Life with Scala.js and Webassembly. Scala without effect systems. The Martin Odersky way.. Scalar 2025 Early Birds!.


  7. Scala Times Issue #551

    Functional Programming in Scala - Edu Plugin. Inline your boilerplate - harnessing Scala 3 metaprogramming without macros. Scalar 2025 Early Birds!. Lambda World, Oct 2nd - 4th, Cadiz, Spain. Art of Scala, Oct 10th, Warsaw, Poland.


  8. Scala Times Issue #550

    Autowire: Zero-Cost Dependency Injection. Another bunch of com.lihaoyi Mill issue bounties. Comparison of Kyo and traditional effects. Scala & Akka: How to secure your code. Fun with Types: All Types of Physics Computations.


  9. Scala Times Issue #549

    Capabilities for Control. Scalar 2025 Call for Papers is open!. Unison Forall, Sept 20th, remote conference. Lambda World. Oct 2nd - 4th, Cadiz, Spain. Call for Speakers - Art of Scala, Oct 10th, Warsaw, Poland.


  10. Scala Times Issue #548

    Perfect Tab Completions. David's programming examples knowledge base. Writing an Android app with Scala.js. Unison Forall, Sept 20th, remote conference. Lambda World. Oct 2nd - 4th, Cadiz, Spain.


  11. Scala Times Issue #547

    Streaming Hash Computations. Launch Scala, faster than Native. Distributed locks in Kubernetes with Scala. The Future Software Engineer. Lambda World. Oct 2nd - 4th, Cadiz, Spain.


  12. Scala Times Issue #546

    Upcoming Changes to Givens in Scala 3.7. Unexpected Scala Functions: groupMap. Lambda World. Oct 2nd - 4th, Cadiz, Spain. Call for Speakers - Art of Scala, Oct 10th, Warsaw, Poland. Scala.IO, Nov 7th-8th, Paris.


  13. Scala Times Issue #545

    ZIO-like dependency injection using implicit resolution. The Mechanics of Mitigation. Publishing test traces to Grafana using otel4s and weaver. Announcing Decisions4s: When Ifs Are Not Enough. State of structural typing support in Scala 3.3.0.


  14. Scala Times Issue #544

    Direct-style Bootzooka: 2024 update | SoftwareMill. The Tri-Z Architecture: a Pattern for Layering ZIO Applications in Scala. The Error Management Manifesto. Migrating to Safety. Benchmarking database sharding in Akka | @lightbend.


  15. Scala Times Issue #543

    Lambda World. Oct 2nd - 4th, Cadiz, Spain. Metals v1.3.4 - Thallium | Metals.


  16. Scala Times Issue #542

    Effective Error Handling. Developer Ecosystem Survey 2024. Pseudorandom Acts of Kindness. Scala 3 Metaprogramming Learning Resources. Scala to WebAssembly: How and Why.


  17. Scala Times Issue #541

    Tapir documentation improvements. Checked exceptions: fixed!. Use cases for Scala. ScalaWAW #33 - beach party! Jul 25th. Lambda World. Oct 2nd - 4th, Cadiz, Spain.


  18. Scala Times Issue #540

    PureConfig with Scala 3 - Tutorial. Developer Experience in Open Source Software. "Learn Functional Programming The Fast Way!" PDF is free. ScalaBridge London @ SiriusXM!, Jul 18th. ScalaWAW #33 - beach party! Jul 25th.


  19. Scala Times Issue #539

    YAML as a valid Scala 3 code. ExecutionContext.parasitic and Friends. ScalaBridge London @ SiriusXM!, Jul 18th. Lambda World. Oct 2nd - 4th, Cadiz, Spain. Faster and less mysterious sbt builds with Develocity.


  20. Scala Times Issue #538

    Make Impossible States Unrepresentable: Network Edition!. Ten things I like about Scala 3. Compiling Bad Code. The ZIO 2 “mental model”. JetBrains course: Functional Programming in Scala.


  21. Scala Times Issue #537

    A Logic Circuit Simulator with Cats-Actors. Magda Stożek - My Scala Story. Lambda World. Oct 2nd - 4th, Cadiz, Spain. ScalaBridge London Jun 20th, 2024. Armored type safety with Iron.


  22. Scala Times Issue #536

    Scala 3 improvements in Metals (and hopefully, IntelliJ IDEA). Purify Your Tests III: Lean, Mean Testing Machine. 12 years of the com.lihaoyi Scala Platform. Scala Is Not Going Anywhere. OpenTelemetry With Scala Futures.


  23. Scala Times Issue #535

    GraphQL in Scala: Role-Based Access Control. WebSocket chat using structured concurrency, Ox & Tapir. Tapir tutorials, part 1. Scala 2.13 LTS planning. A Sighting of filterA in Typelevel Rite of Passage.


  24. Scala Times Issue #534

    Lagom is approaching end of life: possible migration paths. WebSockets in Scala, Part 2: Integrating Redis and PostgreSQL. Scala service combined with PostgreSQL, Flyway, Doobie, Ciris, IO(Cats Effects), Http4s…. Akka 24.05: More Security. More Performance. More Efficiency.. Forking and Interruption in ZIO.


  25. Scala Times Issue #533

    Apache Pekko becomes a Top-Level Project. Scala Meetup at Evolution. Purify Your Tests: 2 Parametric, 2 Declarative. Introducing TARP Stack – Tapir, React and PostgreSQL. IO effect tracking using Ox.


Organizing an event?
Promote it with
Scala Times.
The Scala Times reader?
Get a banner!
Got a tip?Send it in!
Follow us onTwitter.
Curated by SoftwareMill.
We are hiring.
And taking on projects.