What a beautiful thing to approximate pi
https://en.wikipedia.org/wiki/Gauss%E2%80%93Legendre_algorithm
Result: 3.141592653589794
What a beautiful thing to approximate pi
https://en.wikipedia.org/wiki/Gauss%E2%80%93Legendre_algorithm
Result: 3.141592653589794
I'm not sure I understand the changes and improvements well, but if we got a new scala 3 release that finally works again on android it should be all over the news and crazy marketing everywhere...
https://scala-lang.org/news/3.7.0/#scala-3-unblocked-on-android-22632
In recent version of Scala, Named Tuples is a new feature.
Named Tuples acts like case classes as well as tuples.
#scala3 :scala:
Scala v3.7.0 is out!
I recently developed a single-page application with Scala.js. Approximately 3500 lines of code compile to 1.6 mb of un-optimized JavaScript, and 340 kb of optimized JavaScript.
I'm amazed that such a task can be accomplished with full type safety using full Scala.
#Scala #Scala3 #javascript :scala: :javascript:
Going structural with Named Tuples by Jamie Thompson | Scalar Conference 2025
Tagged vs Untagged Unions (in Scala)
https://alexn.org/blog/2025/04/02/tagged-vs-untagged-unions-in-scala/
“A Generic Approach to Parsing CSV into Case Classes in Scala 3”
https://yadukrishnan.live/a-generic-approach-to-parsing-csv-into-case-classes-in-scala-3
We are aware that this survey isn’t perfect; it has blind spots - but it is better to reason based on some results rather than base your judgments just on one’s feelings and experience - no matter how vast it is. We would love to capture 10x more responses, so if you miss the survey, please reach out - we are open to hearing any voice.
See the full report now: https://lp.virtuslab.com/landings/scala-projects-maintenance-survey-report/
#VirtusLab #ScalaDevelopment #ScalaCommunity #Scala3 #ScalaSurvey
Almost done with converting a codebase from #Scala #ZIO 1 to ZIO 2. The ZIO part was not dramatic (and things are so much nicer now), but the changes in deriving the required typeclasses for the newer versions of zio-config and caliban are very painful.
This alone makes additionally upgrading the project to #Scala3 (with the new `derives` keyword) very appealing to me right now.
Very insightful report of a Scala 3 migration by Pierre Ricadat
https://blog.pierre-ricadat.com/scala-3-migration-report-from-the-field
Macros can be powerful. Or... they can be this 😂. Introducing FunctionName: a Scala 3 macro that's literally just a string. Get a function's name. Done ✅ #scala #scala3 https://github.com/matejcerny/function-name
Early start. In my living room (FRA Airport). Polishing my .scalafmt.conf file to make it work for scala3 indentation. #scala3 #remotefirst #software - https://maps.app.goo.gl/63a1pZvoZNgP22ja7
Early start. In my living room (FRA Airport). Polishing my .scalafmt.conf file to make it work for scala3 indentation. #scala3 #remotefirst #software - maps.app.goo.gl/63a1pZvoZ…
In my living room (FRA Airport). Polishing my .scalafmt.conf
file to make it work for scala3 indentation. #scala3 #remotefirst #software - https://maps.app.goo.gl/63a1pZvoZNgP22ja7
As I do every month, I checked the Tiobe Index this month too. My favorites are competing fiercely, with Java in 3rd place. What caught my attention the most, however, was seeing Scala and Julia listed one after the other.
#JuliaLang #scala3 :scala: :julia:
And guess what: It is this time of the year again!!! Advent of Code has started!!! Let’s have some fun with #scala3!!! Day01 done. - github.com/rolandtri… #aoc2024 #aoc