A free, once-weekly Scala news flash. Easy to unsubscribe. Goes out every Thursday.
February 18th, 2024, ISSUE 519

READING

Debugging session #1: zio-logging & quill

Where we figure out why logging inside Quill is using that much CPU.
Pierre Ricadat (@ghostdogpr)
Scala Developer Advocate open hours - AMA

Given that "sir, this is Reddit" it means this is an AMA in which you can ask questions regarding Scala, Scala at VirtusLab, roadmaps of the teams involved in building and maintaining Scala and so on. I also invite you to share your and your organisation's problems, fears, blockers, and issues related to Scala and tooling around the language.
Łukasz Biały (@lukasz_bialy)
Better Shell Scripting with Scala-CLI

Perhaps you need a boot script, or you need to build a container. Maybe it’s a tool that needs to be invoked as part of some larger orchestration process.
Dave Smith (@davidjamessmith)
C-style for loops in Scala 3

With Scala 3, we can easily implement fast C-style loops.
August Nagro (@augustnagro)
Paweł Marks - My Scala Story

Paweł is the Team Leader of the Scala Compiler Team at VirtusLab and the Release Officer of Scala 3.
Paweł Marks (@Kordyjan)
Michał Matłoka - My Scala Story

Michał is an experienced Software Developer, architect, and advisor working at SoftwareMill, shares his Scala story
Michał Matłoka (@mmatloka)
Alexandru Nedelcu - My Scala Story

Alexandru is a long-time Scalar Speaker, software developer, author of Monix and Typelevel contributor, JVM, and functional programming enthusiast.
Alexandru Nedelcu (@alexelcu)

VIDEOS

How do we optimise Scala build times?

Build tools for Scala help you to compile projects as fast as possible. How does this work so we aren’t waiting all day for a one-line-change to rebuild? You will learn about the process of incremental compilation; the steps that you can take to optimise build times; and other developments in the Scala ecosystem to improve build times, from pipelined compilation to even batched parallel compilation.
James Thompson

EVENTS

Functional stream processing workshop before Scalar, Mar 20th, Warsaw, Poland

Stream processing lies at the heart of many complex problems. Learn to solve them with fs2, the most sophisticated functional streaming library. This workshop will demystify the art of functional stream programming. We’ll see how cats-effect and fs2 excel in event-driven architectures and tackle complex concurrency challenges; all the while maintaining performance, resource safety and error recovery. As a final challenge, we’ll use our knowledge of event-driven systems and concurrent processes to code and animate a simulation game in Scala 3.
Zainab Ali (@_zainabali_)
Full-stack Scala 3 with the ZIO stack workshop before Scalar, Mar 20th, Warsaw, Poland

Lear about structuring a full-stack application for the ZIO stack; writing effectful, purely-functional modules for database interaction and web servers; separating business logic from the "operational" parts of an application; adding configuration, testing, refactoring; integrating Laminar with ZIO for a powerful frontend, on top of ScalaJS; adding full-stack features to an application; understanding patterns and anti-patterns while working with ZIO; building and configuring for dev, staging, prod.
Daniel Ciocîrlan (@rockthejvm)
Scalar, March 21st - 22nd, Warsaw, Poland

Join the greatest Scala conference in Central Europe!
Scalar Conference (@scalarconf)
LambdaConf, May 4th-10th, Estes Park, Colorado

Get ready!
LambdaConf (@lambda_conf)
ScalaMatsuri CFP, June 7th-9th, Tokyo, Japan

The CFP will close at February 24, 2024 (Saturday) at 23:59.
ScalaMatsuri (@ScalaMatsuri)

RELEASES

zio-dynamodb 1.0.0-RC2

Series/2.x unify errors, add maybeFound convenience extension method, library updates.
zio-dynamodb contributors
ScalaMock 6.0.0-M1

Finally with Scala 3 support!
ScalaMock contributors





  1. Scala Times Issue #528

    Lean Scala: Reddit discussion. Learn Functional Programming The Fast Way!. Caliban on Tailcalls's GraphQL benchmarks. LambdaConf, May 4th-10th, Estes Park, Colorado. LambdaConf - The Grand Hackathon Finale, May 10th.


  2. Scala Times Issue #527

    How implicits are useful . ScalaWAW #32, Apr 18th, Warsaw. LambdaConf, May 4th-10th, Estes Park, Colorado. LambdaConf - The Grand Hackathon Finale, May 10th. ScalaMatsuri, June 7th-9th, Tokyo, Japan.


  3. Scala Times Issue #526

    Announcing the Scala Ambassadors initiative. Supporting high-performance response streaming in Shardcake. IntelliJ Scala Plugin 2024.1 Is Out!. LambdaConf, May 4th-10th, Estes Park, Colorado. ScalaMatsuri, June 7th-9th, Tokyo, Japan.


  4. Scala Times Issue #525

    Scams in the Scala Community update. Why we bet on Scala at SwissBorg. Capture Checking in Scala 3.4. Why Effects libs? . Benchmarking Tapir: Part 3 (Loom).


  5. Scala Times Issue #524

    Tapir dropping Scala 2.12 support. Scala 3 Roadmap for 2024. Leveraging sbt remote caching on a big modular monolith. Krzysztof Ciesielski - My Scala Story. The Montréal Effect: Why Programming Languages Need a Style Czar.


  6. Scala Times Issue #523

    Zainab Ali - My Scala Story. Handling errors in direct-style Scala. Scala 3.3.2 post-mortem analysis. Distributed Context Propagation with otel4s. Pre-SIP: Improve Syntax for Context Bounds and Givens.


  7. Scala Times Issue #522

    The Functional Programming in Scala Course Is Out!. Shipping your code to cloud with Scala, Besom and Pulumi. Flavors of shared state in Cats Effect. Pekko Akka Compatibility. Benchmarking Tapir: Part 2.


  8. Scala Times Issue #521

    What to do with your End Of Life Akka?. Introducing Playwright-jsEnv for unit testing in scala-js environments. The holy graal of GitHub Actions. Gabriel Volpe - My Scala Story. Game development in Scala.js with David Smith.


  9. Scala Times Issue #520

    My team built and productionized a custom rate limiter in Scala. Benchmarking Tapir: Part 1. WebSockets in Http4s. Improving my Distributed System with Scala 3 (Part 2). Tomas Mikula - My Scala Story.


  10. Scala Times Issue #519

    Debugging session #1: zio-logging & quill. Scala Developer Advocate open hours - AMA . Better Shell Scripting with Scala-CLI. C-style for loops in Scala 3. Paweł Marks - My Scala Story.


  11. Scala Times Issue #518

    Scala Center Roadmap for 2024. Maciej Gorywoda - My Scala Story. Vladyslav Pekker - My Scala Story. Nicolas Rinaudo - My Scala Story. Adam Warski - My Scala Story.


  12. Scala Times Issue #517

    #1BRC in Scala & Scala-Native. Errors happen. Can we get rid of them using ZIO Test?. Scala IO, Feb 15th-16th, Nantes, France. Functional stream processing workshop before Scalar, Mar 20th, Warsaw, Poland. Scalar, March 21st - 22nd, Warsaw, Poland.


  13. Scala Times Issue #516

    GraphQL in Scala: Handling side effects. Type class constraints in object algebras. Migrating event sourced Akka application from CockroachDB to AlloyDB. Jakub Kozłowski - My Scala Story. Scala 3: My migration journey.


  14. Scala Times Issue #515

    Deriving Tail Recursive Fibonacci. Virtual Threads Looming with Adam Warski. Scala Meetup, Jan 31st, Hamburg, Germany. Scala Meetup @ MOIA feat. VirtusLab, Feb 1st, Berlin, Germany. Scala IO, Feb 15th-16th, Nantes, France.


  15. Scala Times Issue #514

    Kotlin from Scala perspective: Advent Of Code 2023. Partially applied functions and currying. GraphQL in Scala: Advanced Schema Generation. Async File IO. Update NextDNS with a Scala CLI script.


  16. Scala Times Issue #513

    Scala 2 Macro Tutorial. A Beginner's Guide to GraphQL in Scala. Writing modular application using the Kyo library. What Can Scala Learn from Rust?. Scala IO 2024, Feb 15th-16th, Nantes, France.


  17. Scala Times Issue #512

    Scala's great ecosystem. What Can Scala Learn from Rust?. Scala IO 2024, Feb 15th-16th, Nantes, France. Scalar 2024 CFP, March 21st-22nd, Warsaw, Poland. LambdaConf 2024, May 4th-10th, Estes Park, Colorado.


  18. Scala Times Issue #511

    Designing a (yet another) retry API. The compilation cost of implicits. Scala Survey Results 2023. Get started with Scala. The X-Ray Mode.


  19. Scala Times Issue #510

    IntelliJ Scala Plugin 2023.3. How to avoid For-Comprehension Pitfalls in Scala. My migration journey. #89 Algebraic Effects with Kyo: Happy Path Programming. Scala in the City, Dec 14th, London.


  20. Scala Times Issue #509

    Type class derivation with ZIO Schema. Scala traits vs enums for ADTs. Practical Type-Level Programming in Scala 3. Extension of Erased Values in Scala 3. For-Comprehension Use Cases in Scala.


  21. Scala Times Issue #508

    Effective Test Parameterization with ScalaTest Tables. Indoor Vivants: Scala Native and Swift: building Twotm8 MacOS app. Entry 1: fs2, gRPC, Triton Inference Server. Poll: Semiauto derivation in circe for Scala 3. Introduction to Functors With Scala 3.


  22. Scala Times Issue #507

    Scala Left Fold Parallelisation - Three Approaches. Advent of Code 2023. Helix and Scala. 10% discount for Functional Scala, Nov 30th - Dec 1st, London. LambdaConf 2024, May 4th-10th, Estes Park, Colorado.


  23. Scala Times Issue #506

    In Scala 3, use 4 Spaces for Indentation. Writing a Chat With Akka. How to retry a Future in Scala. 10% discount for Functional Scala, Nov 30th - Dec 1st, London. LambdaConf 2024, May 4th-10th, Estes Park, Colorado.


  24. Scala Times Issue #505

    Getting started with ZIO, part 3. Laminar & Scala.js Full Stack Demo & More. Harness the power of Web Components with Scala and Laminar. Rendezvous Benchmark Analysis: When Threads (Don't) Meet. How scala-cli Shines in Automation.


  25. Scala Times Issue #504

    Custom logic from Accept header with Tapir. Using Nix to Develop and Package a Scala Project. Scala Center Activity Report for 2023 Q3. How to convert an Option to an Either in Scala. Free support for Scala 2 to 3 migration.


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.