Cats-Actors 2.1.0 is out 🎉 — now with Scala Native + Scala.js support!
Ring benchmark across JVM/Native, live browser demo, and new samples to get you started.

Blog post 👉 https://cloudmark.github.io/Cats-Actors-Native-And-JS/

Thanks to rlavolee and Voltir!
#Scala #ScalaNative #ScalaJS #CatsEffect

Cats-Actors 2.1.0 Goes Cross-Platform

Imagine writing your actor logic once (typed messages, functional state, the ! operator, supervision and all) and then deciding on a whim whether it runs as a JVM service, a self-contained native binary, or a live interactive app in your browser. No rewrites, no ports, no platform-specific glue. Just one codebase. Cats-Actors can do that now, and in this post we are going to have some fun with it. We will throw a token around a ring of actors on both JVM and Scala Native, and then (because why not) we will drop eight monkey actors into a banana-throwing arena right here inside this page. Real actors. Real messages. Running in your browser.

Discover building native-ready Scala applications using GraalVM

🔍 https://seroperson.me/2023/08/31/using-scala-with-graalvm/

#scala #jvm #graalvm #scalanative

Using Scala with GraalVM

Using GraalVM to build native binaries for Scala applications results in faster startup, improved performance, and a more secure application. Learn how to configure GraalVM with Scala in this comprehensive guide.

seroperson’s website

Let's go! 🚀🚀🎉

«We really cannot stress enough how impressed we are with Scala Center and Virtus' work on this front. Scala Native 0.5 is quite the triumph, and Cats Effect 3.7 is the proof. Going forward, you should essentially expect rough parity between scheduling functionality on JVM and LLVM, with JavaScript now being the unusual one (due to its single-threaded nature).»

https://github.com/typelevel/cats-effect/releases/tag/v3.7.0-RC1

#scala #jvm #ScalaNative

Release v3.7.0-RC1 · typelevel/cats-effect

This is the fifty-ninth release in the Cats Effect 3.x lineage. It is fully binary compatible with every 3.x release and intended to be fully source-compatible with the 3.7.x lineage. While we alwa...

GitHub
(2/5) As scalameta/scalafmt https://github.com/scalameta/scalafmt releases include #ScalaNative -built native images for all platforms as of 3.9.1, #ScalaCLI v1.7.0 and onwards will rely on those, rather than the old, Graal-built images from virtuslab/scalafmt-native-image https://github.com/virtuslab/scalafmt-native-image
GitHub - scalameta/scalafmt: Code formatter for Scala

Code formatter for Scala. Contribute to scalameta/scalafmt development by creating an account on GitHub.

GitHub
#ScalaCLI v1.7.0 is out!
Changes include:
- #ScalaNative 0.5.7 support
- better support for parallel Scala CLI builds
- switch to scalameta/scalafmt-built native images of scalafmt v3.9.1+
- support for --test in run and package
- limited detection of main methods in .sc scripts
...and more, check the release notes for the details! (1/5)
Exciting news, #ScalaCLI 1.4.0 is out! 🔥
Among other things, it updates #ScalaToolkit to default to 0.4.0, which now makes it possible to use it with #ScalaNative 0.5.x.
Scala Native has also been bumped to 0.5.4, by the way. (1/3)
Jakub Kozłowski FORAGING INTO EMBEDDED LANDS - THE PATH TO WRITING PLAYDATE GAMES WITH SCALA Scalar

YouTube

Scala Native is a great development. When comparing it with GraalVM's native-image, the latter wins if you just want better RAM use and faster startup, mostly due to connectivity. The JVM's connectivity is top-notch. E.g., JDBC.

#Scala #ScalaNative #GraalVM

Wojciech Mazur talked about implementing multithreading in Scala Native, with some of the problems encountered for memory management.

Scala Native is growing up 😍

#ScalarConf #Scala #ScalaNative

And here’s Wojciech Mazur
sharing the story of how his team dealt with 201 obstacles to run multithreaded programs natively #scalanative

#scalarconf #multithreading