Scala Native

114 posts

Scala Native banner
Scala Native

Scala Native

@scala_native

Your favourite language gets closer to bare metal.

Switzerland Katılım Şubat 2016
1 Takip Edilen3.8K Takipçiler
Scala Native
Scala Native@scala_native·
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
English
0
0
2
870
Scala Native
Scala Native@scala_native·
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.
English
1
0
2
940
Scala Native
Scala Native@scala_native·
Scala Native 0.5.0 has been released! The long await multithreading, initial 32-bit architectures support and many more are now available. See scala-native.org/en/stable/chan… for more details
English
5
37
118
16.7K
Scala Native retweetledi
Łukasz Biały
Łukasz Biały@lukasz_bialy·
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/*
English
2
20
53
9.8K
Scala Native
Scala Native@scala_native·
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. github.com/scala-native/i…
English
1
8
29
1.7K
Scala Native
Scala Native@scala_native·
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.
English
0
1
11
876
Scala Native
Scala Native@scala_native·
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.
Anton Sviridov@velvetbaldmime

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!

English
3
13
65
7.7K
Scala Native
Scala Native@scala_native·
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.
English
0
0
2
585
Scala Native
Scala Native@scala_native·
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. scala-native.org/en/stable/chan…
English
1
6
31
3.3K
Scala Native
Scala Native@scala_native·
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: scala-native.org/en/stable/chan…
English
1
16
84
9.3K
Scala Native
Scala Native@scala_native·
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: scala-native.org/en/stable/chan…
English
0
7
35
0
Scala Native
Scala Native@scala_native·
Scala Native 0.4.7 was released. It fixes JDK 8 issues.
English
0
1
6
0
Scala Native
Scala Native@scala_native·
Due to a misconfiguration, Scala Native 0.4.6 cannot be used using JDK 8. Patched version 0.4.7 would be released soon.
English
2
0
6
0
Scala Native
Scala Native@scala_native·
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: scala-native.org/en/stable/chan…
English
1
9
40
0
Scala Native
Scala Native@scala_native·
Scala Native 0.4.7 was released, try it now!
GIF
English
0
16
28
0