XU XUv0.16.0

Blog

Xu 0.15.0 Released: Legacy or Removal, Optimizer Batches A–P, Arena XUN, and Bare-Metal OS Primitives

· Xu v0.15.0

Xu 0.15.0 is officially released! Building on the runtime and UI milestones of 0.14.4, this release completes the transition to unified error handling by removing the legacy or error keyword, delivers MIR, codegen, and runtime optimization Batches A–P alongside default Linux/macOS M:N multi-core coroutine scheduling, rebuilds #encoding/xun around a zero-slice span arena parser with XUN v0.2.0-dev parity, lands v1.0 readiness tooling (symbolized panic backtraces, DWARF compound types, enhanced xu-lsp, differential fuzzing, and conformance gates), and substantially expands #core bare-metal OS primitives. All six native platforms passed self-hosted fixed-point builds and the 121-workload cross-language benchmark matrix with 0 failures across 726 runs.

See the Xu 0.14.3 release notes for the preceding binary hardening and SLP vectorization release. The OS development guide, concurrency guide, and #encoding/xun reference cover the updated APIs.

1. Breaking Change: Legacy or Error Syntax Removed

2. Compiler, MIR, Codegen & Runtime Optimizations (Batches A–P + 0.14.4)

3. v1.0 Readiness, Arena #encoding/xun & UI Polish

4. Expanded Freestanding & Bare-Metal OS Primitives (#core)

5. Verified Six-Platform Cross-Language Benchmarks (121 Workloads)

Measured across all 121 canonical workloads on six platforms in xulang-org/bench Actions Run #46167554358 (Xu commit c07b4688, 2026-11-28), with 0 failures across 121 × 6 = 726 runs (xu_failed_cases = 0). Ratios represent Xu / best peer median (minimum across O1/O2/O3 for Clang and rustc); lower is faster:

Platform Coverage vs Clang Geomean / Median (Wins) vs rustc Geomean / Median (Wins) vs Go Geomean / Median (Wins) vs Swift Geomean / Median (Wins)
macOS ARM64121 / 1211.018× / 1.114× (37/116)0.919× / 1.058× (52/120)0.621× / 0.767× (96/121)0.450× / 0.610× (102/116)
Linux ARM64121 / 1210.836× / 0.996× (59/116)0.768× / 0.978× (70/120)0.538× / 0.710× (102/121)0.357× / 0.547× (107/114)
Windows ARM64121 / 1210.936× / 0.986× (63/116)0.881× / 0.954× (83/120)0.715× / 0.789× (111/121)—
macOS x86_64121 / 1211.008× / 1.052× (46/116)0.902× / 1.039× (54/120)0.715× / 0.806× (84/121)0.407× / 0.617× (95/116)
Linux x86_64121 / 1210.848× / 1.044× (53/116)0.820× / 1.016× (56/120)0.557× / 0.730× (94/121)0.348× / 0.560× (97/114)
Windows x86_64121 / 1210.940× / 1.016× (57/116)0.898× / 0.980× (67/120)0.668× / 0.763× (101/121)—

Representative workload medians across domains (ratios vs. same-platform best Clang O1–O3 in parentheses; explore all 121 workloads on the Benchmarks dashboard):

Workload macOS ARM64 Linux ARM64 Windows ARM64 macOS x86_64 Linux x86_64 Windows x86_64
startup7.86 ms (2.44×)0.41 ms (0.57×)17.48 ms (1.18×)4.01 ms (0.93×)0.27 ms (0.44×)5.34 ms (0.92×)
loop_sum4.63 ms (0.45×)0.40 ms (0.03×)13.84 ms (0.51×)4.80 ms (0.35×)0.22 ms (0.03×)8.29 ms (0.47×)
fib24.29 ms (1.05×)10.86 ms (0.87×)25.76 ms (0.94×)35.55 ms (1.16×)20.59 ms (1.12×)33.33 ms (1.35×)
matmul10.99 ms (1.12×)6.13 ms (0.70×)20.71 ms (1.00×)18.20 ms (0.94×)7.48 ms (1.20×)12.52 ms (1.08×)
sieve_primes14.32 ms (1.56×)13.71 ms (1.00×)24.55 ms (0.95×)43.13 ms (0.98×)10.81 ms (1.00×)12.61 ms (0.99×)
sha256_chain2.40 ms (0.68×)0.63 ms (0.37×)22.72 ms (1.23×)14.16 ms (1.16×)0.69 ms (0.33×)7.42 ms (0.81×)
aes128_encrypt5.34 ms (0.24×)1.85 ms (0.07×)15.72 ms (0.34×)9.94 ms (0.18×)1.86 ms (0.10×)9.84 ms (0.22×)
scimark_fft8.41 ms (1.31×)6.14 ms (1.23×)20.51 ms (1.03×)15.02 ms (1.31×)6.49 ms (1.42×)13.36 ms (1.16×)
btree_index26.39 ms (1.23×)22.36 ms (1.13×)35.01 ms (1.02×)33.35 ms (0.99×)26.74 ms (0.93×)32.02 ms (0.91×)
sql_query_exec43.07 ms (1.12×)38.37 ms (1.40×)52.44 ms (1.29×)76.09 ms (1.46×)44.95 ms (1.35×)39.36 ms (1.26×)
expr_bytecode_vm17.47 ms (1.33×)11.17 ms (1.13×)25.66 ms (1.05×)29.46 ms (0.59×)12.73 ms (1.40×)24.24 ms (1.29×)
chan_ping45.94 ms41.12 ms57.46 ms101.38 ms162.97 ms104.95 ms

6. Upgrade & Downloads

Upgrade compiler, standard library, and SDK tools together from the Download center or GitHub Releases v0.15.0, and verify SHA256SUMS. Migrate any remaining or (err) { } / or >> code to >>> (err) { } / >>>.