Thanks to Guo Yubin Chimney now supports NamedTuples!
Grab it at:
- github.com/scalalandio/...
- github.com/scalalandio/...
Thanks to Guo Yubin Chimney now supports NamedTuples!
Grab it at:
- github.com/scalalandio/...
- github.com/scalalandio/...
One more proof by construction that we can improve derivation in #scala with #macros:
github.com/nguyenyou implemented sanely automatic derivation for Circe, and got some really nice numbers.
github.com/nguyenyou/ci...
I was drinking beer and approving the runs on the phone (via Happy) xD What I saw was really encouraging. How encouraging?
This is what I have one week later:
github.com/MateuszKubus...
Last week I went out for a Friday night beer with friends, and left Claude running. After recent batches of improvements I hoped that Hearth was finally at the stage when I would be able to write a whole type class derivation with no bugs in my macro utilities. #scala #macros
I wish cross-compilable macros, with potential to provide UX that mops the floor with all these shapeless/mirrors based-libraries were not just a hypothetical possibility...
Oh, wait.
Scala 2.13: scastie.scala-lang.org/MateuszKubus...
Scala 3: scastie.scala-lang.org/MateuszKubus...
Claude just finished writing me a sbt codegen, which generates >17 000 lines of code of macros and compiler plugins... which would be expanded in other macros to provide cross-compilable type constructor representation.
When I started Hearth I didn't expect to go so meta
On this day ten years ago, I gave my first public presentation...
Fast forward ten years, I still suck :)
kubuszok.com/presentation...
π A thoughtful, down-to-earth look at what a shared macro library could mean for Scala developers.
Hereβs "Can we have the Standard Library for Macros?" by Mateusz Kubuszok
π A thoughtful, down-to-earth look at what a shared macro library could mean for Scala developers.
Hereβs "Can we have the Standard Library for Macros?" by Mateusz Kubuszok
New video, with Εukasz BiaΕy from @scala_space!
https://www.youtube.com/watch?v=K_omndY1ifI
@scaladays.org videos are online!
If you wish #scala #macros were a bit easier, and wonder what "this Hearth library" is about, go see:
youtu.be/VOdeXTpw3m0
Scala Times Issue #604 - scalatimes.com/f99e9094b8
Hearth 0.2.0 just dropped continuing the quest for user-friendly macros. #scala #macros
github.com/MateuszKubus...
Welcome Mateusz Kubuszok as the #Scalarconf 2026 speaker!
ποΈ Can we have the Standard Library for Macros?
ποΈ Grab your ticket here: scalar-conf.com/tickets
#scala #scalarconf #functionalprogramming
This is probably the most complete tutorial on typeclasses in Scala 3, it's basically a short book. Bookmark it, as it has everything: givens, derivation, mirrors, inline defs, macros... you name it. #scala kubuszok.com//2025/sanely...
#scala #metaprogramming #typeclasses because, of course, I forgot
It also reminded my why, I stopped - putting everything I know into 1 writeup is such a PITA but I do not want it any other way.
I haven't blogged in a while, but this needed to be written:
kubuszok.com/2025/sanely-...
Chimney 2.0.0-M2 for 2.13.17+ and 3.7+ just landed!
* sanely-automatic derivation backported to 2.13
* aligned with featues/bugfixes up till 1.8.2
Try out, if you had any issues with semiauto on Scala 3.7 or if you want to test sanely-auto on 2.13!
github.com/scalalandio/...
Great thanks to all organizers of @scalaio.bsky.social! It was a great experience I am happy I could be there.
The first release is done, better macros are possible
github.com/MateuszKubus...
Can we have the Standard Library for Macros? (@kubuszok.com): makes simple things simple, and hard things (at least) possible π
Event Sourcing is just a foldLeft on Events and a decide function! Or is it? (Matthieu Baechler & Thomas Hilaire): master of immutability but UPDATE db all day long ? π
Thank you everyone who came to my talk at @scaladays.org ! It was amazing to be here!
You can find my slides at mateuszkubuszok.github.io/ScalaStandar...
That #Scala code does something, that many considered impossible. Could you guess why?
github.com/MateuszKubus...
Feedback reaches authors faster when they don't have to use a mix of "search by string in random social media" (no mentions, hashtags, etc) combined with Google Translate :P
Discussions, issues and PRs are welcome at github.com/scalalandio/...
If you're missing some feature in Chimney - contribute it!
github.com/scalalandio/...
Some time ago I made a presentation that wasn't recorded...
But at least some of the points from it could be showcased with this gist
gist.github.com/MateuszKubus...
Scala Days 2025 Can we have the Standard Library for Macros Mateusz Kubuszok 8.21.2025 | Track 4, 11am, Hall 1
It seems #Scala folks are interested in macros once more!
So, let's meet at the @scaladays.org 2025 to talk why we would want some standard library for them and how!
I had hardly any exposure to Apache Spark, and Databricks is mostly irrelevant to me...
Still I am curious why nobody in my circle noticed that Databricks released runtime for Scala 2.13. Now only sbt is the reason to keep publishing for 2.12
docs.databricks.com/aws/en/relea...
π Metals v1.5.3 is here!
Introducing:
- MCP server support for AI agents
- new inlay hints for named/by-name parameters
-improved test discovery for ZIO
- better auto-fill arguments
- using directives worksheet support.
Try it now! #Scala #IDE
scalameta.org/metals/blog...