Repository navigation
Releases
Releases · 8b-is/nuresh
nuresh v0.2.0 — Bare-Metal ARM64 NEON Core (47.8 GB/s)
Changelog
All notable changes to nuresh are documented in this file.
The format follows Keep a Changelog,
and this project adheres to Semantic Versioning.
[0.2.0] - 2026-11-28
Performance (Apple Silicon ARM64 NEON + Multi-Core)
- Zero callee-saved register spills: Rewrote all
nuresh-asminlineasm!kernels to use strictly caller-saved registers (v0..v7,v16..v31) withoptions(nostack, readonly)on read-only kernels. - 128-byte Apple Silicon cache-line loops (
ldp/stp): Upgradedcount_byte_neonwith nested in-registeruadalpwidening (accumulates up to 2 MiB per singleuaddlv+umov, zero stall) and 16B NEON tail. - 64-byte 4-way unrolled case transforms: Upgraded
ascii_lower_in_place_neonandascii_upper_in_place_neonfrom 16B/iter to 64B/iterldp/stp, saturating all 4 Firestorm NEON pipes. - 8-accumulator
add.2d/fadd.2d/fmla.2dpipelines: Eliminated Firestorm 3–4 cycle ALU latency stalls insum_i64_neon,sum_f64_neon, anddot_f64_neon. - Multi-core Apple Silicon P-core sharding: Added
count_byte_parandascii_lower_par(128B-aligned chunks viastd::thread::scope) for buffers ≥ 4 MiB, plusmadvise(Sequential | WillNeed)and<4 MiBdirectread()bypass. - Zero-alloc single-pass
nuresh sum: Replaced full-listVecallocation and double scan with 4 KiB stack-buffered chunking and lazyi64 -> f64promotion. - Sub-30µs
nuresh prompt: CachedHOMEviaOnceLock, replacedcanonicalize()with a singlereadlink, and directly opens.git/HEADwith a bounded 4 KiB read. - Added
.cargo/config.tomltargetingapple-m1onaarch64-apple-darwin.
Security & Memory Safety (CaveCrew Audit)
- Guarded file opens with
O_NONBLOCK+meta.file_type().is_file()to eliminate FIFO/device hangs and non-regular filemmapcrashes. - Fixed UTF-8 byte-slice panic risk on
.git/HEADtruncation (chars().take(7)). - Added bounded 4 KiB reads for
.gitand.git/HEADinnuresh prompt(prevents/dev/zero/ huge-file DoS). - Validated
--byteflag withu8::try_fromand checkedi64::try_from/checked_mulacross CLI & plugin. - Eliminated all
from_raw_partspointer-provenanceunsafetails andout("d0")register overlap (fmov+out("v0") _). - Fixed component-aware
HOMEprefix stripping innuresh promptand~expansion inresolve_path. - Replaced all CLI
.expect()calls and pluginassert_eq!calls with clean error returns.
Distribution & Open Source
- Prepared all 3 crates (
nuresh-asm,nuresh,nu_plugin_nuresh) forcrates.io(MIT OR Apache-2.0, MSRV 1.85,docs.rs+cargo-binstallmetadata). - Added one-liner
install.sh, HomebrewFormula/nuresh.rb(8b-is/homebrew-tap), interactive GitHub Pages landing site (docs/), and GitHub Actions CI/Release/Pages workflows.
[0.1.0] - 2026-11-28
- Initial workspace:
nuresh-asm(#![no_std]),nu_plugin_nuresh(Nushell 0.117.0), andnureshCLI.