Slick, the Future-based database library, will soon get a massive update with version 4! 🚀
It's ditching the Future-only constraint for a new Cats Effect 3 engine, bringing dedicated facades for Future, IO/fs2 and ZIO. All with the same query DSL.
#scala github.com/slick/slick/...
Posts by Matej Cerny
It is heavily inspired by Jamie Thompson's presentation last year about named tuples and it is built directly on the new named tuples feature introduced in Scala 3.7.
I will get back to it again after I try it by myself, but the compile-time safety looks amazing. 👏
github.com/Netflix/wick
Zero-cost, type-safe Spark data pipelines! 🚀 No, I'm not talking about Frameless, but Wick: an internal tool from Netflix which has been open-sourced! Huge credit guys for sharing this with the community! ❤️ #scala
Hiking with a kid in the Czech mountains
The best kind of relaxation 🌲🥾
Do you use if guards in for-comprehensions? You don't, right? They are practically unusable. ❌ This pre-SIP discussion wants to change that, and from the first draft, it looks very promising. This would increase our everyday quality of life significantly!
contributors.scala-lang.org/t/pre-sip-if...
Skunk v1.0.0 was released 🎉 This one is packed with the good stuff!
✅ Scala Native 0.5 support
✅ otel4s replacing Natchez
✅ A new fluent API for building sessions
✅ Unix domain sockets & peer auth
👋 Scala 2.12
Smoke out the full changelog! 👇
github.com/typelevel/sk... #scala
"I have to warn you: you'll actually fall in love with this language very quickly. It's really easy to use and makes so much more sense than Java in a lot of ways."
www.youtube.com/watch?v=eVV2...
For all the curious #Java developers out there, here is a quick look at how to use Scala 3 with Spring Boot. But as the author says:
It breaks down the foundations of OpenTelemetry - covering traces, metrics, logs and context propagation and how otel4s brings these concepts into the purely functional Scala world using Cats Effect 🐱
ochenashko.com/practical-ob...
The only article (well, it's actually a series) about observability you need to read! Recommended by Azuros Cloudapi to both Java and Scala camps! 😂 #java #scala
A cool new CLI tool which helps you discover running Scala-related processes. 📈
It would be awesome if it had an interactive mode so I could kill those zombies right from it! 🧟♂️ #scala
That's exactly what Kindlings does. Currently it can replace derivations for libraries like Avro4s, Jsoniter, PureConfig or Tapir. Time to give it a test run! 🏃
github.com/kubuszok/kin...
Imagine you could derive an Encoder for both #Scala 2.13 and Scala 3 without Shapeless or Mirrors. All with just one API, faster compilation and better error messages. 🤯 (<- the only appropriate reaction to this)
http4s 0.23.34 is out 🎉 #scala
The Typelevel stack is now almost completely on Scala Native 0.5:
✅ Cats Effect
✅ fs2
✅ http4s
✅ Weaver
❌ Skunk
github.com/http4s/http4...
Anyway, if you have some spare tokens, consider helping out the ones that aren't quite prepared yet! Check the status and see where you can contribute 👇
github.com/sbt/sbt/wiki...
I know I've posted about it several times, but sbt 2.0 is truly just around the corner! After checking the list of plugins that are already cross-published, it looks like we're gearing up for a very smooth migration. 🤞 #scala
Metals v1.6.7 is out! 🚀
Thanks to @michal.pawlik.dev , the MCP server now supports stdio! What does this mean for you? No need to run a standalone MCP server in a different terminal and no need to configure HTTP ports anymore! Great job! 👏 #scala
scalameta.org/metals/blog/...
Nowadays, I can't keep up with the ecosystem tempo - every day a new article, a new library, a new release with dozens of new features.
To quote the article: "The cost of complexity drops, but the value of strong abstractions remains." 🧠💡
blog.typesafebrew.dev/posts/scala-...
I was afraid that I'm the only one who feels the huge traction and positive vibes in the last 2-3 months! ❤️
Because let's be real, the last couple of years in Scala were very hard and a lot of people left. But the sentiment changed, I feel it in the water. (I smell it in the air.) #scala
(3/4) pgmq4s brings that simplicity to Scala. It features
✅ Typelevel ecosystem
✅ Multiple backends
✅ Multiple JSON codecs
✅ Cross-platform - Skunk backend + Circe/Jsoniter/uPickle codecs work on JVM, JS, and Native
🚧 Streaming - currently work-in-progress
(2/4) The question is - do you really need Kafka's performance if you already use Postgres? Imagine being able to debug messages with standard SQL, re-order or edit messages in place, or even join your queues directly with regular tables.
My other passion (besides Scala) is databases. There is an extension called pgmq, a message queue built on top of Postgres which can cover the scale for 99% of companies. To connect the two passions, I'm building a Scala client called pgmq4s. 🧵 #scala
Scalac is starting a new blog series for managers and engineering leaders. 👔
It's great that it isn't just another news aggregator, but instead focuses on real architecture lessons and trade-offs. After all, if people just want news, they could just follow me! 😀 #scala
scalac.io/blog/signal-...
I'll be totally honest - I got lost somewhere in the middle of this article 🤷 But if you are up for some advanced type level shit, this is for you 👇 #scala
halotukozak.github.io/posts/scala-...
Speaking of Actors, there is a new research paper which tries to solve a problem when you need a combinations of messages to trigger a specific task.
The paper introduces JoinActors, a macro-based library for Scala 3 that brings guarded join patterns to the actor model. #scala
Cats-Actors 2.1.0 just went cross-platform! 🚀
Choose JVM for throughput, Scala Native for instant startup or Scala.js for the browser.
Read the full article with a live monkey banana battle! 🐒🍌
cloudmark.github.io/Cats-Actors-... #scala
💡 If you make a library, you should be its first user. Using your own tools is the best way to see what works and what doesn't.