Search
Items tagged with: Scala
Jon Pretty wins in court against sexual harassment claims by Scala community
Link: https://pretty.direct/statement.html
Discussion: https://news.ycombinator.com/item?id=40169578
#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
Lean Scala
Program code is for communicating between humans, not just for instructing computers. So we strive for code to be lean. Lean code is simple and understandable. It is as concise as possible without losing clarity.Martin Odersky (Language and Code)
I delivered my talk on "Elements of JVM Concurrency" 😸
Link to slides (PDF): https://alexn.org/assets/pdfs/Scalar-2024.pdf
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).
Check out the release notes here https://github.com/scala/scala/releases/tag/v2.13.13 for details on that and more. 👇
Release Scala 2.13.13 · scala/scala
The Scala team at Lightbend is pleased to announce Scala 2.13.13. The following changes are highlights of this release: Language Support binary integer literals using 0b, as in Java (#10656 by @so...GitHub
#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
Release Scala 2.12.19 · scala/scala
This release improves compatibility: Support certain Java libraries compiled on JDK 21 (#10675 by @SethTisue) Support JDK 22 in optimizer (by upgrading to ASM 9.6) (#10575 by @Philippus) New -Yrel...GitHub
“Scala's Future”
Gather around, kids, let me tell you two stories from my past in the software industry.
Initial release of http4s-otel4s-middleware:
https://github.com/http4s/http4s-otel4s-middleware/releases/tag/v0.1.0
#Scala #OpenTelemetry #http4s #otel4s
Release v0.1.0 · http4s/http4s-otel4s-middleware
Initial release. This is a fork of natchez-http4s-otel, with Otel4s replacing Natchez. It is compatible with otel4s-0.3.x and http4s-0.23.x. New Contributors @rossabaker made their first contrib...GitHub
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