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鈥檚 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鈥檚 Wojciech Mazur
sharing the story of how his team dealt with 201 obstacles to run multithreaded programs natively #scalanative

#scalarconf #multithreading

Scala Native v0.5.0-RC1 released. Has 1:1 multithreading support.

https://github.com/scala-native/scala-native/releases/tag/v0.5.0-RC1

#Scala #ScalaNative

Release v0.5.0-RC1 路 scala-native/scala-native

See the release notes on Scala Native website tl;dr Not backward compatible with previous releases, Added support for multithreading based on platform threads Added support for targeting 32-bit ar...

GitHub