Mateusz Kubuszok
banner
kubuszok.com
Mateusz Kubuszok
@kubuszok.com
Hearth Core Macro Hacker
Blog @ https://kubuszok.com
JVM-Scala Book @ https://leanpub.com/jvm-scala-book
Chimney @ https://chimney.scalaland.io
Reposted 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
Mateusz Kubuszok: Can we have the Standard Library for Macros? [Scala Days 2025]
Do you like it when compiler generates the boring code for you? Fast, mundane, boring-but-error-prone code? Do you need to implement such a code generator yourself? Have you found out that Shapeless/Mirrors bend your brain a bit too much? Congratulations! You might have a valid use case for writing
www.youtube.com
December 12, 2025 at 9:27 AM
Reposted 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
Mateusz Kubuszok: Can we have the Standard Library for Macros? [Scala Days 2025]
Do you like it when compiler generates the boring code for you? Fast, mundane, boring-but-error-prone code? Do you need to implement such a code generator yourself? Have you found out that Shapeless/Mirrors bend your brain a bit too much? Congratulations! You might have a valid use case for writing
www.youtube.com
December 12, 2025 at 9:27 AM
Reposted by Mateusz Kubuszok
New video, with Łukasz Biały from @scala_space!

https://www.youtube.com/watch?v=K_omndY1ifI
December 6, 2025 at 12:15 AM
@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
Mateusz Kubuszok: Can we have the Standard Library for Macros? [Scala Days 2025]
YouTube video by Scala Days Conferences
youtu.be
November 26, 2025 at 4:57 PM
Reposted by Mateusz Kubuszok
Scala Times Issue #604 - scalatimes.com/f99e9094b8
November 22, 2025 at 8:34 PM
Reposted by Mateusz Kubuszok
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
November 17, 2025 at 11:00 AM
Reposted by Mateusz Kubuszok
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...
November 4, 2025 at 7:46 PM
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/...
Release v2.0.0-M2 · scalalandio/chimney
Important Since Chimney got affected by 3.7.0 change in givens resolution we had to analyze the possible ways of fixing the issue. While there is a temporary workaround the proper fix requires rele...
github.com
October 21, 2025 at 8:47 PM
Great thanks to all organizers of @scalaio.bsky.social! It was a great experience I am happy I could be there.
October 18, 2025 at 10:21 AM
Reposted by Mateusz Kubuszok
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 ? 👀
September 25, 2025 at 1:44 PM
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...
August 21, 2025 at 4:01 PM
That #Scala code does something, that many considered impossible. Could you guess why?

github.com/MateuszKubus...
hearth/hearth-tests/src/main/scala/hearth/demo/ShowMacrosImpl.scala at f4b7828eaecd6b154514832a51b1756f6a29fd37 · MateuszKubuszok/hearth
The first Scala macros' standard library. Contribute to MateuszKubuszok/hearth development by creating an account on GitHub.
github.com
August 10, 2025 at 6:13 PM
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...
Newtypes and tagged types
Newtypes and tagged types. GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
July 16, 2025 at 1:09 PM
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!
May 30, 2025 at 10:46 AM
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...
Databricks Runtime 16.4 LTS | Databricks Documentation
Release notes about Databricks Runtime 16.4 LTS, powered by Apache Spark.
docs.databricks.com
May 21, 2025 at 8:05 PM
Reposted by Mateusz Kubuszok
🚀 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...
May 13, 2025 at 3:02 PM
If you've been affected by Scala 3.7.0 given resolution change, and Chimney started failing in some case - try out 2.0.0-M1.

github.com/scalalandio/...
Release v2.0.0-M1 · scalalandio/chimney
Important Since Chimney got affected by 3.7.0 change in givens resolution we had to analyze the possible ways of fixing the issue. While there is a temporary workaround the proper fix requires rele...
github.com
May 8, 2025 at 1:02 PM
Reposted by Mateusz Kubuszok
Slow-Auto, Inconvenient-Semi: escaping false dichotomy with sanely-automatic derivation by @kubuszok.com

Subscribe to our our YouTube channel so you don't miss the rest of #scalarconf videos.
Slow-Auto, Inconvenient-Semi: escaping false dichotomy with sanely-automatic derivation
YouTube video by SoftwareMill
www.youtube.com
April 14, 2025 at 7:53 AM
Reposted by Mateusz Kubuszok
Really interesting comparison between automatic vs. semi-automatic type class derivation and their impact on performance. #scala https://youtu.be/M54ux51H6Fo
Slow-Auto, Inconvenient-Semi: escaping false dichotomy with sanely-automatic derivation
youtu.be
April 11, 2025 at 2:44 PM
Reposted by Mateusz Kubuszok
As promised we are working hard on providing you with the Scala MCP server, we already have a WiP pull request ready and some courageous souls are actually testing it!

You can take a look and already give some feedback at github.com/scalameta/m...
WIP: MCP support by kasiaMarek · Pull Request #7390 · scalameta/metals
resolves: scalameta/metals-feature-requests#430
github.com
April 10, 2025 at 4:00 PM