Skip to main content

Search

Items tagged with: Scala


“Choose Boring Technology”

I entirely agree if you want to actually ship. Learning takes a back seat. For me, the boring, reliable, predictable tech is #Scala + FP (mostly Typelevel, Lightbend, SoftwareMill stuff) and PostgreSQL 🤷‍♂️

mcfunley.com/choose-boring-tec…


Well, I did something.

Written some ramblings about #scala and the syntax/way to write typeclasses.

Just the start. Basically notes to myself, but maybe useful for others eventually.

I should turn this into some blog post or put it into a personal wiki or wtv. But ain't nobody got time for that.

So just a bunch of code, hosted in codeberg (gotta start using it more), with a bunch of comments intended to be read from top to bottom.

That's all folks :blobpeek:

codeberg.org/vascorsd/scala3-e…

#fp

#scala #fp


In general the official #scala API docs are very very lacking and generally suck.

Methods have barely any description on them. There are no examples in most methods to understand them. Important methods and collections lack explanation of their characteristics related to performance, runtime, O notations of each etc. Barely describe where each is more appropriate vs others, etc.

🫣


I was pointed out yesterday to scodec for #scala. It has some important things there that seem very useful and will likely use it.

It's just pretty sad that such a known, useful, stable library has most of the site with incomplete docs, broken links and incomplete released version numbers.

Example:
- incomplete docs: from this on scodec.org/guide/Collections.h…
- scodec.org/api/ scodec-protocols 1.2.0 link broken; versions on the page are not latest and you need to check github

🫣


Martin Odersky's thoughts on "Lean Scala"

What do you think? #Scala

odersky.github.io/blog/2024-04…


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

Link to slides (PDF): alexn.org/assets/pdfs/Scalar-2…

#ScalarConf #Scala


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

lists.apache.org/thread/grl5h0…

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


#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 github.com/scala/scala/release… 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 👇github.com/scala/scala/release…


“Scala's Future”

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

alexn.org/blog/2024/01/10/scal…

#Blog #Scala #Scala3


Initial release of http4s-otel4s-middleware:

github.com/http4s/http4s-otel4…

#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. - typelevel.org/cats-effect/docs…

----

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

#programming