sahanav@rust:~/projects$ pdflatex psync.tex
This is latex.rs, Version 2027.6.0 (rust, wasm32-unknown-unknown)
(./psync.tex) [1]
Output written on psync.html (129 words).

psync

rustasynccompilersembedded

Abstract

A priority-aware Rust asynchronous executor, plus opt-in procedural macros that infer source-visible dependencies to expose opportunities for concurrent execution. Source: github.com/sahastasai/psync.

§Idea

Ordinary async Rust is full of .awaits that run one after another even when they don’t depend on each other. psync’s macros look at what each statement reads and writes, and let independent work run concurrently.

The analysis is deliberately conservative: when the safety of a reordering can’t be established, psync rejects it and keeps the original order.

§Results

  • Up to 5\times end-to-end speedup in selected open-source applications, including kube-rs, compared with the originals without the macros.
  • Both versions run on Tokio; getting there took about nine annotations rather than manual rewrites.

§Next

  • Compiler-level dependency analysis.
  • Stronger correctness guarantees, and multithreaded execution.
  • Formal correctness proofs.