Skip to content

Sley 2.1.3

Choose a tag to compare

@GreyforgeLabs GreyforgeLabs released this 21 Oct 03:26
· 223 commits to main since this release
Immutable release. Only release title and notes can be modified.

Sley 2.1.3 is a performance point release. The VM's compact scalar plan now runs direct calls, and its loops are faster: fib(30) runs about 13x faster than in 2.1.2 and the loop benchmarks 2.7-3.6x faster. Sley is still 2.7-4.6x slower than CPython 3.13 on every program measured. Program meaning and resource accounting (fuel, instructions, value and output units) are unchanged.

Release notes · Benchmarks · Quickstart

Changes

  • Direct calls in the scalar plan (#46): call_direct no longer forces the general reference interpreter. Calls follow contract E6 exactly, on an explicit frame stack, and a new test compares every budget cut with the reference interpreter.
  • Faster loops (#45, #46): a native 64-bit checked-arithmetic fast path, direct block-edge moves, and padding-free 32-byte registers.
  • Python % and // (#44): one remainder instead of up to three. The answers and traps are the same, with fewer instructions and less fuel.
  • bench/runtime: the cross-language benchmark behind the table (Python-dialect programs that also run under CPython and PyPy, plus Lua, LuaJIT, Node and Ruby ports).

Benchmarks (wall ms, hyperfine median, published musl binaries, same session)

benchmark Sley 2.1.2 Sley 2.1.3 CPython 3.13.5 PyPy 7.3.19 Lua 5.4.7 LuaJIT 2.1 Node 20.19 Ruby 3.3.8
fib 30 2739 210 78 174 38 7.8 78 97
loopsum 1e6 665 183 54 22 8.5 8.9 88 70
collatz 5000 488 144 31 22 8.6 2.5 72 55
primes 30000 424 147 37 22 7.7 2.5 75 57
gcdsum 400 374 138 38 78 13 6.2 79 63
fib 1 (startup) 1.7 1.7 9.2 15 0.6 0.6 68 39

These are development measurements on one 8-vCPU cloud VM, pinned to one vCPU, with 2 warmups and at least 10 runs. They are not a GA claim. The method, ranges and raw records are in the release notes.

Kernel, SSMC1, SCB1, SMP1 rules, the instruction set, admission and commit semantics are unchanged. No third-party dependency was added. The native test supervisor is still source only: committing a candidate that selects TestCases still refuses with TXN_TEST_EVIDENCE_UNSUPPORTED.

Two maintainer checks, check_candidate_result_contract.py and check_transaction_contract.py, were waived for this release by operator decision, carried forward from 2.1.2. They need the Sley 2.0 master goal, which is unavailable off the maintainer host. This is not a pass. The persistent-fuzz proofs use the documented toolchain override (Debian clang 18.1.8), as in 2.1.2.

Linux x86_64

sley-2.1.3-linux-x86_64.tar.gz contains static musl sley and sley-agent binaries. It was built from 03387499cacb33c9fee2f97abdc09a3e5574f7e2; two clean builds on the primary host produced identical archives.

  • Size: 7,656,373 bytes; 17 archive members
  • SHA-256: 6fd18c3c19b5a4891fbcb2e9703130af52b0fe54e777d3e449d0d375dc43c9ae
sha256sum -c SHA256SUMS
tar xzf sley-2.1.3-linux-x86_64.tar.gz
cd sley-2.1.3-linux-x86_64
./bin/sley version
./bin/sley-agent help python
python3 demo/run_demo.py

ga_claimed remains false. Cross-host reproducibility is not claimed, and provenance is unsigned.