The unfortunate thing about the downfall of corporate #scala was that #scala3 was actually pretty good. By the time it finally arrived companies didn't want to migrate.
"We’re happy to announce the release of Scala Native. Scala Native 0.4.16 is yet another maintenance release backporting changed from the 0.5.0-SNAPSHOT branch. This version introduces support for using Scala Native with JDK 21 and introduces bug fixes to the runtime. It also fixes severe performance problems when using java.nio.MappedByteBuffers."
Any Finagle users here? My com is looking at forking the project (Twitter isn't maintaining it anymore, and we want #scala3 support). Is someone else in this situation? #scala#finagle
Out of the Alt-JS languages I've played with, #Scala.js seems to be the best.
Given it's probably not widely adopted, its maturity is surprising. E.g., ScalablyTyped can convert TypeScript definitions, and actually works. Interop is good. And the compiler is, dare I say it, pretty fast compared to 2–3 years ago. Scala 3 also helps. E.g., it has untagged unions, just like TypeScript.
I'm surprised that it's in better shape than #KotlinJS, for all its multi-platform marketing.
@alexelcu What makes Scala.js better than KotlinJS in your opinion? How do they compare on bundle size? My understanding was that Kotlin's collection classes have much lower overhead than Scala's, both in JS and on the JVM.
If you want macros, the meta-programming abilities in Scala are quite nice. What I like is that much is possible using just simple inline definitions w/ compile-time reflection, no AST manipulation or quoted code required.
@alexelcu barely. Takes a lot to show autocompletes and keeps showing lots of red lines in a perfectly good syntax and takes too long to understand that things are right.
I still can't wrap my head around the #Lichess chess server being built in Scala 3 and using Typelevel libraries, in an #FP style. This chess server is insanely popular.
The remote analysis is provided by Stockfish 16, the in-browser analysis by a modified version of Stockfish 14 (the neural network is smaller).
If you are willing to try something new, you can use in-browser any UCI engine using the external-engine tool (https://github.com/lichess-org/external-engine). It is still in an early phase, though.