🎉
To all the library maintainers out there - the recommendation is to NOT cross-publish stuff for 0.4.x/0.5.x - just go straight to 0.5.0. The entire ecosystem will cut over quicker this way.
Migration from 0.4.x to 0.5.x in most cases should not require source changes in most of codebases. The are no changes to globally available API
Although, be aware of some changes related to FFI - mostly due to new platform dependent Size/USize type which maps to C size_t
Scala Native 0.5.0 has been released!
The long await multithreading, initial 32-bit architectures support and many more are now available.
See https://t.co/ynLcSIJ5jK for more details
To the all the maintainers of the Scala ecosystem: now it's a time to start upgrading!
The new release is not binary compatible with Scala Native 0.4.x, it unfortunately requires republishing of the artefacts.
In these last hours of #1brc challenge I want to share with you my small exploration not of how fast I can make JVM go BRRRRR but of whether Scala Native is now a real, usable contender in the space of functional langs compiled to native binaries. The biggest issue, of course, was whether I can parallelise the load. Scala Native did not support multithreading for the longest time but now that has changed! In mid-January I implemented a relatively (no Panama and Unsafe, no SWAR) fast solution inspired by work of @sampullara, Yavuz Tas and @royvanrijn. Then, I cooked the binary using scala-cli and benchmarked it against the fastest JVM in the tournament. #scala 1/*
The new SNIP (Scala Native Improvement Proposal) just dropped: `Non-GC object allocations using annotation hints` by @WojciechM_dev
Let us know if it should work on it and add to Scala Native.
https://t.co/wSU9mhfsLn
Sbt users need to explictly enable multithreading using `nativeConig ~= { _.withMultithreadingSupport(true) }`
When using scala-cli remember to use `--native-version=0.5.0-SNAPSHOT` . Multithreading would be enabled by default.
It's time to test multithreading support in upcoming Scala Native 0.5.0! Let us know if you encounter any problems!
While we're still polishing the new minor version, you can try its current state in scala-cli or sbt.
Scala Native 0.5.0-SNAPSHOT is now available in Sonatype snapshots, so I decided to do a silly multi-threading comparison against regular JVM launcher (jvm-packaged), Native Image (jvm-native), and Scala Native in release-fast.
Even same ballpark would've been amazing!
The 0.4.13 shipped with a bug. When linking with libraries produced using 0.4.12 or older it could lead to unreachability errors caused by the link-time values resolving mechanism.
The bugfix release 0.4.14 fixes these problems. We're sorry for the inconvenience when upgrading.
Scala Native 0.4.13 is out!
That's the next maintenance upgrade with bug fixes and an update of the underlying Scala 2/3 standard library. This version is recommended for everyone targeting Scala 3.3.0 LTS and using the new parts of its stdlib.
https://t.co/3ZFyCnNxeQ
All the cool kids are doing #Scala these days! Can it be even cooler with @scala_native?
Join the @ScalaSpace and meet us at @scaladays to keep with latest news.
Scala Native 0.4.10 is out!
This version follows @scala_js decision and drops support for Scala 2.11.
It also adds support for Scala 3.2.2 and its new lazy vals implementation enabled with `-Ylightweight-lazy-vals`
See the changelog here: https://t.co/dau9B9ATCT
Scala Native 0.4.9 is out!
It now adds experimental incremental compilation developed during the last edition of GSoC.
See details here: https://t.co/BNEZJ0FqL5
Scala Native 0.4.8 has just been released.
The latest version now allows building Scala Native projects as dynamic or static libraries.
For details see the changelog: https://t.co/bYhfNoy0Q5
Scala Native 0.4.6 has just been released!
The latest version brought support for Scala 3.2.0 and multiple bug fixes.
A complete list of changes can be found here: https://t.co/sxLBsZ0tRl