Scala News

Scala News -

A curated list of Scala related news from the community.

Articles

Coroutines, Event Loops - Build Your Own in Scala

What better way to learn about concurrency than roll your own?

Effects and Concurrency in Functional Programming

Video link (open on YouTube.com) I've delivered (sometime this year) this presentation at a local meetup (ING Hubs Romania). The target was mainstream developers, with the intent to give them a taste

How to run sbt tasks with custom settings

When preparing build configuration in sbt, you might want to write custom sbt task. Task in sbt is like a function that can depend on other tasks and project settings. To illustrate it, let's write a

Restarting Kubernetes deployments with Github Webhooks and Scala

On my lazy Kubernetes cluster that hosts various apps I want to have the easiest possible way for automatic deployments - and reacting to Github package publishing seems just simple enough

Scala 2 Symbols

This post provides a concise overview of key symbols used in Scala 2, such as symbols for function types, function literals, import renaming, and more. It serves as a quick reference for Scala

Scala 3 / HOCON Parsing

How to parse HOCON in Scala 3? How to use Circe for HOCON? How to work with multiple JSON codecs per data structure? This article is using Scala 3 with -no-indent. And this file is executable with

Scala 3 / Match Types

Scala has a neat feature called match types. Let's play... This article is using Scala 3 syntax and features using -no-indent. Here's an example: The above seems to achieve dependent typing. Scala

Scala 3 / No Indent

Scala 3 came with significant indentation (🏛️). And I still dislike it, despite trying hard. So I'm switching back to braces. Oh, no 😱 not this kind of rant again! Sorry, but it must be said about

Scala vs F#

Scala logo on the left, F# logo on the right. Which language leans more towards functional programming? In this binary choice, people have perceived F# to be that language, due to its ML roots, but I

Type Gymnastics with Builder Pattern

The Builder pattern provides a way to construct complex objects step by step with a fluent API, where each method call returns the builder itself, allowing for method chaining. Let us play some type

incremental compilation of Scala 3

In this post, I want to look into the incremental compilation of Scala 3, or the apparent problem associated with it. The incremental compilation on Scala 2.12 or 2.13 has been fairly stable, but for

sn-bindgen-web - Typelevel stack on Scala Native 0.5

This is a showcase of the app I've been working on and off for a while now, which recently got a major update and public release. A http4s and smithy4s full stack application which provides a web