Skip to main content

Search

Items tagged with: scala


#scala be like: oh no, ecosystem is too broken with many silos, 3 different effect libraries is too much, people can't decide, monads are too hard...

Scala solution: let's introduce a whole new thing called direct style, there's now 7 new libraries, competing against the previous 3 and std Futures. We are even working on effect things in a different way which will introduce 2 more ways to think about it!

Everybody else: yeah, tks but no, don't what deal with that craziness 😱😐


Martin Odersky's thoughts on "Lean Scala"

What do you think? #Scala

https://odersky.github.io/blog/2024-04-11-post.html


I delivered my talk on "Elements of JVM Concurrency" 😸

Link to slides (PDF): https://alexn.org/assets/pdfs/Scalar-2024.pdf

#ScalarConf #Scala


Apache Pekko has left the incubator phase and is now a top-level project.

https://lists.apache.org/thread/grl5h0l79oywnjtmfv0mdg3w108vsh6o

That's great news! Pekko was created as a Fork of Akka 2.6, right after Lightbend chose to pull a bait-and-switch by relicensing Akka to a non-FOSS license.

I have already switched to Pekko a few months ago, it went very smooth, and I am grateful to everybody involved in making this happen.

#opensource #pekko #akka #scala #java #licensing #apache #foss


Contrarian viewpoint…

In #Scala, IO does not exist because of “fibers” (green threads). Ditto for Java's “reactive” libraries. That was just the marketing brochure. You could have lived w/ blocking I/O, given that Linux+JVM can handle 10s of thousands of threads (1:1).


#Scala 2.13.13 also brings better compat with new (and old) JDKs, as well as extra tools for step-by-step migration to Scala 3, some new linting options and other improvements.
Check out the release notes here https://github.com/scala/scala/releases/tag/v2.13.13 for details on that and more. 👇


Hey, #Scala 2.12.19 & 2.13.13 are out!
#Scala 2.12.19 comes with some extra compatibility for JDKs 21 & 22 and a new `-Yrelease` flag to complement `-release` for working with old Java versions. And of course - bugfixes!
Check out the release notes here 👇https://github.com/scala/scala/releases/tag/v2.12.19


“Scala's Future”

Gather around, kids, let me tell you two stories from my past in the software industry.

https://alexn.org/blog/2024/01/10/scala-future/

#Blog #Scala #Scala3


Initial release of http4s-otel4s-middleware:

https://github.com/http4s/http4s-otel4s-middleware/releases/tag/v0.1.0

#Scala #OpenTelemetry #http4s #otel4s


Since other people are discussing these things, always a good reminder that on #scala using cats-effect library and using #FunctionalProgramming these thing are properly abstracted away nowadays and on daily usage one finally barely has to care at all about it. - https://typelevel.org/cats-effect/docs/thread-model

----

Two kinds of threads pools, and why you need both | Lobsters - https://lobste.rs/s/k8knw4/two_kinds_threads_pools_why_you_need_both

#programming