←back to thread

Scala 3 slowed us down?

(kmaliszewski9.github.io)
261 points kmaliszewski | 1 comments | | HN request time: 0.211s | source
Show context
jiehong ◴[] No.46183745[source]
> After upgrading the library, performance and CPU characteristics on Scala 3 became indistinguishable from Scala 2.13.

Checking the bug mentioned, it was fixed in 2022.

So, I’m wondering how one would upgrade to scala 3, while keeping old version of libraries?

Keeping updated libraries is a good practice (even mandatory if you get audits like PCI-DSS).

That part puzzled me more than the rest.

replies(5): >>46184252 #>>46184274 #>>46184465 #>>46185518 #>>46187166 #
1. lmm ◴[] No.46187166[source]
> So, I’m wondering how one would upgrade to scala 3, while keeping old version of libraries?

The normal way.

> Keeping updated libraries is a good practice

So is changing one thing at a time, especially when it's a major change like a language version upgrade.