Repository navigation
Releases
Raya 0.4.0
Raya 0.4.0
Raya 0.4.0 ships as part of the Riptide 0.4.0 release (tag v0.4.0), with Evelyn, Riptorch and the Riptide SDK, all at 0.4.0.
This is the first Raya release with SDK downloads for macOS, Linux and Windows. If you last used 0.3.3, see "Since 0.3.3" below. 0.3.4 was prepared but never published, so its changes arrive in this release.
Highlights
- Linux SDKs for x64 and arm64.
raya compile sharedworks on Linux. It linkslibraya_runtime.sowith an$ORIGINrpath and a soname, so a library still loads after you move its folder. (#15) - A Windows x64 SDK, with
raya.exein place ofraya.bat. The natively built SDK is tested on Windows Server 2025 and Windows 11 (results: Windows Server 2025: the full release gate, 25 of 25 test segments, the final build's release smoke tests (11 of 11,raya testincluded), plus a clean-machine check of the zip and of the installer; Windows 11 25H2, a clean machine as a standard user: the zip, theinstall.ps1one-liner andRayaSetup-0.4.0.exeeach install, thenraya --version,raya create,raya run,raya testandraya compile exepass, and the installer's 19 checks pass, uninstall included). The checks covered the CLI, create / get / run / analyze / format / test, compiling to exe, AOT, JIT, kernel, JS and wasm, native calls, isolates, files and processes. (#18) - Build every target from a Mac. Raya cross-builds Linux x64 (#4), Windows x64 (#6, #18), and the Intel macOS runtime and AOT tools (#10). A macOS SDK build now needs only the Command Line Tools, not Xcode. (#21)
- The installer accepts either tag form.
install.shandtool/raya_bootstrap.sh --downloadaccept av0.4.0tag as well asraya-<version>. Either way they downloadraya-0.4.0-<os>-<arch>.zip. (#19) - The CLI says Raya.
raya help,raya createand the command descriptions name Raya and link Raya's docs. (#7)raya --versionprints the Raya and Riptide SDK versions. (#1) - An open-source repository. It has a BSD 3-Clause licence, issue forms, a PR template, a code of conduct, security and contributing guides, and Raya's own changelog. (#3) Builds and the release gate run on AWS, not on GitHub's runners.
Release gate. The full gate (run 20261130-0535-c825fd06e3, commit c825fd0) built all four SDKs and passed the smoke tests on macOS arm64 (28/28), Linux x64 (28/28), Linux arm64 (28/28) and Windows x64 (25/25). The final build (commit 14753ff) adds the raya test and C API fixes below. Its gate run (20261130-1732-14753ffd20) built all five SDKs, and the release smoke tests passed on macOS arm64, Linux x64, Linux arm64 and Windows x64 (11/11 each). The smoke tests are --version, run, create, run project, raya test on a new project, compile exe, AOT and ELF snapshots, and a native extension built against the C API. The Intel macOS zip passed the same commands on a real Intel Mac (macOS 15.8, Core i7-8700B).
Fixes
raya testworks in a new project. The test runner (package:test from pub.dev) looked for the SDK's files under their upstream names, soraya testfailed with "Frontend server AOT snapshot does not exist".raya pubnow maps those names to Raya's when it fetches a package. If you used a pre-release 0.4.0 SDK, runraya pub cache repaironce. (#46)- C API:
include/ships only Raya's own self-contained headers (raya_api.h,raya_api_dl.h,raya_api_dl.c,raya_native_api.h,raya_tools_api.h,raya_version.h). The runtimes export every function asRaya_*, andraya_api_dl.cinitialises theRaya_*table, so a native extension builds with-I<sdk>/includealone. (#47) raya compile shared: araya compile exeprogram no longer hangs on its first call into a shared library. This affected Linux x64, Linux arm64 and macOS arm64. If a library's start-up calls back into the library on the same thread, it now fails with a message instead of deadlocking. (#20)raya compile jit-snapshot <file> -o <out>now writes<out>. Before, an-oplaced after the entry point became a training argument. Put--after the entry point to pass the rest to the training run. (#19)--target-os/--target-archno longer try a download that always failed. When the SDK has no binaries for the target, the command says so and exits with 128. This applies tocompile exe,compile aot-snapshotandbuild cli. (#19)- On Windows,
raya compile sharedsays it isn't supported yet. Before, it reported "libraya_runtime not found". (#19) - On Windows, a shared library keeps the arguments it was started with. A library loaded into
python.exe -c ...now starts. (#6) - A forced
--raya-simd-i8mmor--raya-simd-dotprodno longer crashes with SIGILL on a CPU that lacks the feature. Raya prints one warning and ignores the flag. (#11) - Building from source:
tool/raya_build.shrunstools/build.ray. The build's package config is also refreshed when the bootstrap SDK writes.raya_tool/. (#8) - Fixes to tests and the release gate, found while setting up the release gate and testing on Linux. (#12, #13, #14, #16, #17, #22)
Since 0.3.3
These were listed under 0.3.4 in the changelog, and that version was never published. (#8)
- Raya native:
raya compile execompiles qualifying numeric code through LLVM. That means loops overdouble,intand typed data. (SP-022) - The matrix unit, written in Raya: a Raya program generates every matrix kernel (int8, int16, float16, bfloat16, float32, float64 and 1-bit). (SP-021)
- Const functions (experiment
raya-const-functions): a function markedconstruns at compile time when a constant expression calls it. (SP-030) - Float32 vector loops: the loop vectoriser handles float32 bodies and vectorised reductions. (SP-029)
- Byte table lookup:
i32x4.tbl, a single arm64TBLinstruction. (SP-024) - Hook-generated sources: a build hook can generate Raya libraries that the analyzer, compiler,
raya run,raya testand hot reload all see. (SP-026) - Shorter package commands:
raya add,raya getandraya pkg. (SP-027) - Value classes and
StructListeverywhere: they behave the same under JIT, AOT, hot reload and the web compilers. (SP-002, SP-005) .raya_tool/is the project tool folder. (SP-023)raya compile shared --obfuscaterenames identifiers and strips symbols, paths and debug info.
Platforms
| OS | Architectures |
|---|---|
| macOS | Apple silicon (arm64), Intel (x64) |
| Linux | x64, arm64 |
| Windows | x64 (raya compile shared is not supported yet) |
Install
macOS and Linux:
curl -fsSL https://riptidecompute.com/raya/install.sh | shHomebrew: brew install riptide-compute/tap/raya. mise: mise use -g github:riptide-compute/raya@0.4.0.
Windows x64 (Windows 10 / 11), in PowerShell:
irm https://riptidecompute.com/raya/install.ps1 | iexOr download the Windows zip from this release and put its bin folder on your PATH. Windows 11 blocks running a downloaded install.ps1 file by default, so use the one-liner above. Raya's Windows binaries aren't code-signed yet: they run from a terminal, double-clicking one in Explorer shows a "Windows protected your PC" prompt, and Smart App Control (when it's on) blocks them.
Windows installer: download RayaSetup-0.4.0.exe from this release and run it. It installs Raya for the current user (no admin rights), adds raya to your PATH and registers an uninstaller under Apps. It isn't code-signed yet, so SmartScreen shows "Windows protected your PC": click More info, then Run anyway. Silent install: RayaSetup-0.4.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /CURRENTUSER.
Scoop:
scoop bucket add riptide https://github.com/riptide-compute/scoop-bucket
scoop install riptide/rayawinget, once Microsoft has merged the package into its catalog: winget install Riptide.Raya.
macOS installer: Raya-0.4.0-macos-arm64.dmg (Apple silicon) or Raya-0.4.0-macos-x64.dmg (Intel) from this release. Open it and run the installer package. The disk images aren't signed by Apple yet: on macOS 15 and later, open System Settings → Privacy & Security and click Open Anyway the first time.
Ubuntu 26.04 / 26.10 and Debian 12+ (amd64, arm64), with APT:
sudo install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://riptidecompute.com/apt/key.gpg | sudo gpg --dearmor --yes -o /etc/apt/keyrings/riptide.gpg
echo "deb [signed-by=/etc/apt/keyrings/riptide.gpg] https://riptidecompute.com/apt stable main" | sudo tee /etc/apt/sources.list.d/riptide.list
sudo apt update
sudo apt install rayaThe APT signing key is "Riptide APT Signing Key", ed25519, fingerprint CBFB B8EA A925 FFCD 31BF 7AEB 233C 1D71 047D 74DE.
To build from source, see "Build from source" in the README.
Known limitations
raya compile sharedis not supported on Windows yet. (#19)- Cross-compiling with
--target-os/--target-archneeds target binaries in a build tree. The released SDKs don't include them. (#19) - iOS and watchOS targets still need Xcode. (#21)
- macOS 26 kills a program that runs code from an ELF AOT snapshot.
raya compile exeand Mach-O snapshots work. (#22)