Repository navigation
v0.14.4 SliceVM Runtime
Slice v0.14.4 - Native Built-in Resource Cage Hardening
Closes all five native built-in fuel, memory, and timeout cage bypasses tracked in milestone v0.14.4 with zero measured regression on Criterion hot-path benchmarks and 33/33 real-world workload wins over Bun, Deno, and Node.js.
Security & Resource-Cage Fixes
- #183 - RegExp catastrophic backtracking metering: Vendored
regress0.12.0 (vendor/regress), addedwith_step_budgetwith amortized 4,096-step fuel, wall-clock deadline (timeoutMs), andIsolateInterruptHandlechecks plus a localMatchAttempter.abortedflag, and wiredRegExp::builtin_exec. - #184 -
ArrayBuffer/SharedArrayBuffer/TypedArray/Buffermetering: Added upfront O(1) heap + fuel checks increate_byte_data_block,create_shared_byte_data_block, andArrayBuffer.prototype.transfer(also enforcingmax_buffer_size), 64-element chunked fuel inTypedArraybulk loops (fill,set,copyWithin,reverse,toReversed), clampedTypedArray.prototype.joinpre-allocation with 4 KB heap chunks, and per-comparison fuel insort/toSorted. - #185 -
Stringbuilt-in metering: MeteredString.prototype.repeat,padStart/padEnd,replaceAll,split(string separator),concat,toLowerCase/toUpperCase, andnormalize. - #186 - Sparse
Array& array-like built-in metering: ClampedArray.prototype.joinpre-allocation with 4 KB heap chunks, added 64-iteration chunked fuel/heap metering acrossfill,reverse,toReversed,concat,slice,splice,toSpliced,copyWithin,with,indexOf,lastIndexOf,includes,shift,unshift,flatten_into_array, and sparse empty-hole callback loops, and cappedflat(Infinity)atrecursion_limit(). - #187 -
BigInt,JSON,Objectbulk ops, and native codec metering: Added upfront bit-length metering for BigInt**/<</>>/toString, per-container fuel + output-byte DAG guard intry_fast_stringifyand chunkedserialize_json_array,> 64key metering inObject.assign/keys/values/entries, andContext::charge_transient_heap_bytes+ fuel metering acrossJSON.parse,btoa,atob,TextEncoder, andTextDecoderwhile preserving sustained chunked streaming I/O. - Manifest
[runtime]support: Added[runtime]fuel_limitandmemory_limit_*aliases inSliceManifest::parse_toml(slice.toml).
Benchmarks (v0.14.4, Linux x86_64 Docker)
- 33/33 workloads faster than Bun
v1.4.5, Denov2.9.8, and Node.jsv27.0.0-alpha.0.1.1(cold.casand--warm). slice serveTier-0 CAS:158,118 req/s(1.58xBun /2.89xNode); Tier-1 WinterTC:153,531 req/s(1.54xBun /2.80xNode).- Single Isolate Cold-Start:
0.86 usP50 /1.21 usP99; 1,000-Tenant Swarm:1.10 ms(8.12 MBRSS); 5/5 security vectors blocked.
Full Changelog: v0.14.3...v0.14.4