Hello Rustaceans!
Christmas is coming and 2026 is coming to an end. And we are finally releasing RSSN v0.3.0 and Aevia v0.1.0, which we promised back in February to release before May... But it turned out to be really hard to make the architecture shift, and coordinating with upstream projects and other communities also took time. But anyway, we are here again, releasing them in December 2026.
Let me introduce what we have been working on. This is more of a starting point for discussion than a deep dive into the details. But anyway, deeper discussions are welcome, too.
Architecture - RSSN
RSSN v0.1 and v0.2 both use a standard approach: defining a central enum containing all the variants, with the numerics kept separate. That is normal for a computing library, and it is a solid approach.
But after several months of discussion, we decided to take a somewhat more academic approach. Symbolic operations are rewritten into equivalent terms, and a computation can target either a symbolic or a numeric result. For numeric results, the engine can also use approximations provided by kernels when needed. These approximations may come with an error estimate or an interval ball, although the guarantees depend on the algorithm.
And the JIT in v0.2.0 was one of the parts we were least happy with... So in v0.3.0, we took a different approach and made the execution backend portable, although we still use Cranelift for JIT compilation. The HAL has two layers: backend::Backend compiles terms into callable functions, potentially through a tape IR, while backend::device::Device manages buffers and compiles and launches kernels. DeviceBackend connects the two.
OK, so this is a tech post anyway, not a full architecture doc. The full architecture documentation is available at aevia's website and our docs page.
And one more thing about the C-FFI and manifest design. RSSN has Python, C++, Julia, and R bindings (some of them requested by other communities), and is also used by Aevia. It is hard to write or generate wrappers with enough information and documentation for all of them. So we spent some time designing the kernel boundaries and contracts: the bindings share a C ABI, and the kernel manifest describes operators, signatures, and capabilities. There are also persistent OpKeys, which identify overloads across builds as long as their rule set, name, and signature stay the same. These are more like engineering chores, but they still need some careful design, which you can read about in the links above.
Anyway, we'll stop here on the architecture to avoid making this post too long. But still, more in-depth discussions are welcome. (PS: I think the architecture doc is a bit too dense. So maybe I'll write a personal blog post about it later.)
Showcase - RSSN
Given that RSSN v0.3.0 is a huge breaking release, we would like to show some examples of the brand new APIs.
use rssn::api::*; fn main() -> Result<(), ComputeError> { let s = Session::new(); let x = s.sym("x"); let request = diff(sin(x) * cos(x), x); let formula = s.compute(request, &Config::new())?; assert_eq!(formula.term.to_string(), "cos(2*x)"); let at_zero = Config::new().numeric(1e-12).bind("x", 0.0); assert_eq!(s.compute(request, &at_zero)?.value, Some(1.0)); Ok(()) } This is not really the place for a long list of examples, but I just wanted to show a bit of the API design anyway...
Architecture & Showcase - Aevia
Aevia is a different kind of project: it is a functional language for scientific computing. It is written in Rust, with RSSN providing the symbolic and numerical engine, but its design is more of a PL task. We won't go into the architecture here, to keep this post from getting too long.
But an example anyway:
fn energy(x: Real[Length]): Real[Energy] = (2 N/m) * x^2 / 2 test "restoring force at three metres" = let gradient = diff(energy) approx(-gradient(3 m)) == Ok(-6.0 N) So here you can see one of the core ideas of Aevia: physical dimensions are part of the type system. This is particularly useful in engineering and physics.
Also, you can install Aevia by:
curl -fsSL 'https://aevia.apich.org/install.sh' | sh or
& ([scriptblock]::Create((irm 'https://aevia.apich.org/install.ps1'))) Quality and Engineering
It has been 15 months since RSSN started... We have to admit that at the beginning, we did not have the engineering expertise to build the project, and the code was a mess. Communication with the community was also a mess. But we have grown since then...
Anyway, RSSN and Aevia are still in their early stages, and there are certainly more bugs to find, although we have a strict testing matrix. So we really welcome bug reports and contributions.
We use Bazel as our build system, and the CI is also heavy because it needs to cover 10 platforms. We are also working on the contributor experience, and feedback is welcome.
Finally, special thanks to all the contributors (including @jolars, @cn-starlabs, @RheaCherry, and many others) and community members who have contributed code or ideas to our projects. And thanks to all the sponsors who have backed us throughout development. Detailed lists can be found on our official website.
Links
Other Project Updates
Bincode-next v3.2.0 is out, with several security and performance fixes. Dtact v0.3.1 is also out, with some fixes to its formal verification model.
We also released cargo-slide, a presentation tool based on Typst. You can write your slides in Typst and package them into a standalone binary.
Here's an example:
#import "theme.typ": * #show: slide-theme.with(aspect-ratio: "16-9", theme: "dark") #title-slide( title: "Building Modern Slides with Rust & Typst", subtitle: "Native Binary • LZMA2 Standalone Packages • Zero-JS Leptos CSR • Advanced Brushes", author: "Cargo Slide Team", date: "2026", ) #audio("assets/ambient.wav", autoplay: true, loop: true, volume: 0.5) #slide(title: "Architecture: Typst Functional Markup to Native Engine", transition: "slide-left")[ #align(center)[#image("assets/architecture.svg", height: 4.4cm)] #v(0.2cm) #grid( columns: (1fr, 1fr, 1fr), gutter: 0.8cm, callout(title: "Typst Functional Markup", stroke-color: slide-colors.accent)[ Incremental compilation and vectorized SVG rendering, without a browser. ], callout(title: "Rust Core Blitter", stroke-color: slide-colors.accent-orange)[ A tiny-skia 32-bit ARGB software blitter, with no GPU driver dependency and a locked 60 FPS swapchain on all platforms. ], callout(title: "Multi-Threaded Audio DSP", stroke-color: slide-colors.accent-cyan)[ A Rodio audio mixing thread with volume fades, loop playback, and a floating volume HUD. ] ) ] #slide(title: "In-Slide Component Animations & Fragment Builds", transition: "iris")[ Press *Space* / *Left-Click* to reveal each component sequentially (or *Backspace* / *Right-Click* to step back): #v(0.25cm) #step(1, effect: "fade-in")[ #callout(title: "Step 1: Compiler Pipeline (#step(1, effect: 'fade-in'))", stroke-color: slide-colors.accent)[ Typst source compiles into a vectorized SVG DOM. Hotspots, internal jumps, media queries, and component fragments are indexed automatically. ] ] #v(0.25cm) #step(2, effect: "slide-up")[ #callout(title: "Step 2: Directional Slide-Up (#step(2, effect: 'slide-up'))", stroke-color: slide-colors.accent-cyan)[ Cubic interpolation moves the component into place while fading it in. ] ] #v(0.25cm) #step(3, effect: "glitch")[ #callout(title: "Step 3: Cyberpunk RGB Glitch (#step(3, effect: 'glitch'))", stroke-color: slide-colors.accent-purple)[ Scanline jitter and RGB channel separation for a glitch effect, with no overhead. ] ] ] You can install the main CLI crate with:
cargo install cargo-slide There is also a WYSIWYG editor, which you can install with:
cargo install slide-editor Though the editor is much less well tested than the core crate, and we're still working on improving the experience. Feedback is welcome.
1 post - 1 participant

