Skip to content

Slice Runtime Compatibility Matrix

Slice is a capability-based, deterministic edge and serverless JavaScript/TypeScript runtime engineered for sub-microsecond cold starts (~1 us), 4.0 KB per-tenant isolate memory overhead, and deterministic time-travel replay.

Instead of embedding a heavyweight OS process runtime like libuv/V8, Slice targets the WinterTC Minimum Common Web API specification alongside OCap-Sandboxed node:* Core modules. This document provides an explicit, verifiable compatibility matrix modeled on Cloudflare workerd and Deno/Bun compatibility tables.


1. WinterTC Minimum Common Web API (100% Supported)

Section titled “1. WinterTC Minimum Common Web API (100% Supported)”

All WinterTC globals are available in every isolate out of the box. Under the hood, Slice maintains human-readable JavaScript prelude sources in crates/slice-engine/src/preludes/*.js, compiles and minifies them deterministically at Rust build time (crates/slice-engine/build.rs), and evaluates only a ~6 KB ultra-core bootstrap (00_ultra_core.js) when creating a realm. All 19 feature shards (URL, TextEncoder, ReadableStream, WebCrypto, Buffer, console.* extensions, WebSocket, Worker/Sockets, WebAssembly, fetch/SSE, Headers/Request/Response, URLPattern, Event/EventTarget, TransformStream/CompressionStream, Blob/File/FormData, structuredClone, Buffer binary R/W, Intl, and navigator/location/process CLI extensions) are loaded on demand via pre-fused SLICEBC\x01 bitmasks or self-replacing lazy property getters on globalThis so scripts that do not touch a subsystem pay 0 bytes of parse or evaluation cost:

Category Global / API Support Status Implementation Notes
HTTP & Fetch fetch, Request, Response, Headers, Slice.serve (Deno.serve / Bun.serve) 100% Supported Native Rust HTTP/1.1 & TLS 1.3 (rustls + webpki-roots), tenant-partitioned Keep-Alive socket pool, checked chunked streaming, hop-by-hop Zero-Trust SSRF redirect validation, OCap-verified HTTP_PROXY/HTTPS_PROXY/NO_PROXY, Egress DLP redaction, lossless binary HttpRequestContext.body_bytes ingress, .arrayBuffer(), .bytes(), .blob(), .formData(), .json(), .text(), eager Response.json() validation/serialization, single authoritative Headers Content-Type, Response.redirect(), and native TLS 1.3 termination (--tls-cert / --tls-key) in slice serve.
WebSockets (RFC 6455) WebSocket, MessageEvent, CloseEvent, Slice.upgradeWebSocket, Slice.mockWebSocket 100% Supported Zero-dependency RFC 6455 Client (ws:// and wss:// over TLS 1.3) and Server Upgrade (HTTP/1.1 101 Switching Protocols + Sec-WebSocket-Accept). Supports text and binary (Uint8Array / ArrayBuffer / Blob) frames, 4-byte XOR masking, fragmented frame reassembly, automatic Ping/Pong heartbeats, OCap allow_net + DNS SSRF + per-frame Outbound Egress Secret DLP, and deterministic Slice.mockWebSocket.
Pure-Rust WebAssembly WebAssembly (validate, compile, instantiate, Module, Instance, Memory, Global, Table, CompileError, LinkError, RuntimeError) 100% Supported Pure-Rust wasmi (v2.0.0) engine with shared per-isolate wasmi::Store, GLOBAL_WASM_MODULE_CACHE (< 15 us warm instantiation), zero-stat .wasm bundling (import wasmBytes from "./kernel.wasm"), live cross-instance Memory/Global/Table sharing with canonical JS wrapper identity, W3C ResetMemoryBuffer detachment ([[ArrayBufferDetachKey]] = "WebAssembly.Memory") on native & JS memory.grow, unconditional post-trap & host-callback 8-byte word-aligned linear memory sync, arbitrary-precision ToBigInt64 (i64), and 5-Ring WASM Security Cage (SliceWasmLimiter page/byte cage, unified re-entrant CPU fuel metering, zero ambient WASI authority, and Outbound Egress Secret DLP).
MicroVM Web Workers Worker, MessageChannel, MessagePort, URL.createObjectURL, URL.revokeObjectURL, URL.canParse 100% Supported Spawns isolated child SliceIsolate workers on background threads with strict capability attenuation (child_caps = intersect(parent_caps, opts.slice)), inherited Outbound Egress Secret DLP, independent fuel & memory ceilings, lock-free mpsc message channels, and support for Blob/data/VFS URLs.
WinterTC Raw Sockets cloudflare:sockets / slice:sockets (connect), Slice.connect, Slice.mockSocket 100% Supported Streams-based TCP & TLS 1.3 (secureTransport: "off" | "on" | "starttls") sockets returning { readable, writable, opened, closed, close, startTls } protected by 5-Ring Security (OCap allow_net, privileged port blocking under wildcard *, Pre-Connect DNS Resolved-IP SSRF guard, Outbound Egress Secret DLP on every writable chunk, and deterministic Slice.mockSocket).
URL Routing URL, URLSearchParams, URLPattern 100% Supported Full query mutation (append, set, delete, getAll, sort), iterator protocols, URL.canParse(), URL.createObjectURL(blob), relative URL resolution, and WHATWG URLPattern (test, exec, named :param groups, wildcards).
Compression Streams CompressionStream, DecompressionStream 100% Supported Pure-Rust zero-dependency RFC 1950/1951/1952 DEFLATE/GZIP/Zlib engine (crates/slice-engine/src/intrinsics/compression.rs) supporting "gzip", "deflate", and "deflate-raw" via .pipeThrough() with compile-time CRC-32 / Huffman LUTs and sandbox memory caging.
WebCrypto crypto, crypto.subtle, CryptoKey Supported (Edge Profile) Native Rust ring + x25519-dalek + SIMD backend with tenant-scoped CRYPTO_KEY_HANDLE_TABLE key handle caching: getRandomValues, randomUUID, subtle.digest (SHA-1, SHA-256, SHA-384, SHA-512), subtle.generateKey (AES-GCM, AES-CBC, HMAC, Ed25519, X25519, ECDSA P-256 & P-384), subtle.importKey / exportKey (raw, jwk, pkcs8, spki), subtle.encrypt / decrypt (AES-GCM 128/256-bit with additionalData & tagLength, AES-CBC 128/256-bit with PKCS#7 padding), subtle.sign / verify (HMAC, Ed25519, ECDSA P-256 & P-384, and imported 2048 to 8192-bit RSASSA-PKCS1-v1_5 & RSA-PSS over SHA-256/SHA-384/SHA-512), and subtle.deriveBits / deriveKey (PBKDF2, HKDF, RFC 7748 X25519). Deterministic PRNG mode when Slice.setSeed is active.
Streams ReadableStream, WritableStream, TransformStream, TextEncoderStream, TextDecoderStream 100% Supported Full WHATWG async start/pull/cancel backpressure state machine (desiredSize, reader.closed), getReader(), getWriter(), bidirectional pipeTo() / pipeThrough() (AbortSignal, preventCancel, preventAbort, preventClose), tee(), pull-on-demand ReadableStream.from() with iterator.return() cleanup, streaming UTF-8 TextDecoderStream, for await...of async iteration, and SSE token streaming (text/event-stream).
Binary & Encoding TextEncoder, TextDecoder, atob, btoa 100% Supported Native Rust UTF-8 codec (encode, encodeInto returning { read, written }, decode with fatal and ignoreBOM options) and Base64 helpers.
Multipart & Blobs Blob, File, FormData 100% Supported Binary-safe Blob/File (slice, text, arrayBuffer, bytes, stream) and FormData (append, set, get, getAll, entries) backed by native Rust SIMD RFC 7578 (memchr::memmem::Finder) multipart parsing and application/x-www-form-urlencoded support on Request/Response.
Events & Signals Event, CustomEvent, EventTarget, AbortController, AbortSignal, DOMException 100% Supported Capture-aware listener deduplication (once, passive, capture, signal), live removed-listener suppression during dispatchEvent, AbortSignal inheriting from EventTarget (AbortSignal.abort(), AbortSignal.timeout(ms), AbortSignal.any(signals)), unified MessagePort event dispatch, and standard DOMException error names/codes.
Timers & Microtasks setTimeout, clearTimeout, setInterval, clearInterval, setImmediate, clearImmediate, queueMicrotask, process.nextTick 100% Supported $O(1)$ Slab-Allocated Hierarchical Timer Wheel with strict priority ordering (sync -> process.nextTick -> Promise.then / queueMicrotask -> setImmediate -> setTimeout(0)), deterministic virtual time-warp (0 ns wall-clock wait during cassette tests), and real non-blocking concurrency on live sockets.
Cloning & Diagnostics structuredClone, performance.now(), console.* (log, info, warn, error, debug, table, time, timeLog, timeEnd, group, groupCollapsed, groupEnd, dir, dirxml, count, countReset, assert, trace, clear) 100% Supported Graph-preserving Map-memoized cyclic structuredClone (CreateDataProperty own properties, shared ArrayBuffer & SharedArrayBuffer identity, resizable ArrayBuffer & auto length-tracking TypedArray/DataView views, array string expandos, Map, Set, Date, RegExp, Blob, File, Error + .cause, atomic { transfer } detachment preserving resizability, and DataCloneError enforcement) and full WHATWG console.* specification routed through the Outbound Egress Secret DLP Firewall (with deterministic elapsed timing under --deterministic).
Internationalization & WinterTC Globals Intl (DateTimeFormat, NumberFormat, Collator, PluralRules, Segmenter, getCanonicalLocales, supportedValuesOf), navigator, location 100% Supported Zero-ICU-bloat deterministic Intl fast-path shard (18_intl.js) supporting Date.prototype.toLocale*, Number.prototype.toLocaleString (decimal, currency, percent, unit, formatToParts), String.prototype.localeCompare, PluralRules (cardinal, ordinal), and Segmenter (grapheme, word, sentence), decoupled from the lightweight 19_process_cli.js shard providing WinterTC navigator, location, and the complete process CLI surface (stdout, stderr, stdin, hrtime, memoryUsage, on/emit).
JSX / TSX & Edge SSR Native .tsx / .jsx compilation + slice:jsx (react/jsx-runtime, preact/jsx-runtime, hono/jsx) 100% Supported Native Rust Oxc JSX/TSX compiler (runtime: automatic) paired with a built-in zero-dependency SSR engine (renderToString, jsx, jsxs, jsxDEV, Fragment, createElement/h, raw) featuring automatic HTML & attribute XSS escaping, void tag handling, and camelCase style object serialization.

2. Node.js Core Modules (node:*) Compatibility

Section titled “2. Node.js Core Modules (node:*) Compatibility”

Slice supports node:* built-in specifiers (both "node:<module>" and bare "<module>") via lazy per-module initialization and Object-Capability (OCap) host enforcement.

Module Support Status Supported APIs & Sandbox Semantics
node:buffer / Global Buffer Supported (Full Binary) Real Uint8Array subclass (Buffer.prototype instanceof Uint8Array === true, Buffer.isBuffer(b) === true). Supports Buffer.from (utf8, hex, base64, base64url, latin1, ascii, zero-copy ArrayBuffer slices with strict RangeError bounds checks, element-wise ToUint8 copy from TypedArrays, valueOf()/Symbol.toPrimitive unboxing, and TypeError on DataView/BigInt TypedArrays), alloc, allocUnsafe (zero-filled for cross-tenant safety), concat, byteLength, compare, .subarray(), .slice(), .copy(), .equals(), .fill(), .write(), and integer wire readers/writers (readUInt8, readUInt16BE/LE, readUInt32BE/LE, readBigUInt64BE/LE, writeUInt8, writeUInt16BE/LE, writeUInt32BE/LE, writeBigUInt64BE/LE, plus signed variants).
node:crypto Supported (Native Rust) randomBytes(size, cb?), randomFillSync(buf, offset?, size?), randomFill, randomInt([min,] max[, cb]) (unbiased 48-bit rejection sampling up to 2^48 - 1), randomUUID(), getRandomValues(ta), timingSafeEqual(a, b), streaming multi-chunk createHash("sha256" | "sha384" | "sha512" | "sha1" | "md5") (including .copy()) and createHmac(alg, key), fuel-metered KDFs (pbkdf2Sync/pbkdf2, hkdfSync/hkdf, scryptSync/scrypt), symmetric AEAD/block ciphers (createCipheriv / createDecipheriv for aes-128-gcm, aes-256-gcm, aes-128-cbc, aes-256-cbc with setAAD, getAuthTag, setAuthTag), asymmetric key generation (generateKeyPairSync/generateKeyPair for ed25519, x25519, and ec P-256 & P-384), key import/export (createPrivateKey, createPublicKey, createSecretKey, KeyObject PEM / DER PKCS#8 / PKCS#1 / SPKI / JWK), signing & verification (createSign, createVerify, sign, verify for Ed25519, ECDSA P-256 & P-384, and imported 2048 to 8192-bit RSA PKCS#1 v1.5 & RSA-PSS over SHA-256/SHA-384/SHA-512), RFC 7748 diffieHellman (x25519), constants, plus crypto.subtle and crypto.webcrypto.
node:events Supported Full EventEmitter class (on, addListener, once, off, removeListener, prependListener, prependOnceListener, removeAllListeners, emit, listeners, rawListeners, listenerCount, eventNames, setMaxListeners, getMaxListeners, static EventEmitter.once).
node:path (path/posix, path/win32) Supported normalize, isAbsolute, join, resolve, dirname, basename, extname, relative, parse, format, sep, delimiter, path.posix, path.win32.
node:fs & node:fs/promises Supported (OCap + VFS) openSync, closeSync, readSync, writeSync, fstatSync, ftruncateSync, futimesSync, readFileSync, writeFileSync, appendFileSync, existsSync, mkdirSync, readdirSync (including { withFileTypes: true, recursive: true }), statSync / lstatSync (isFile(), isDirectory(), isSymbolicLink(), size, mtimeMs, mode), unlinkSync, rmSync, rmdirSync, copyFileSync, cpSync, renameSync, truncateSync, utimesSync, realpathSync (and .native), readlinkSync, mkdtempSync, chmodSync, symlinkSync, watch, opendirSync (with for await...of), 64 KB streaming createReadStream and createWriteStream, callback variants, and fs.promises async equivalents (open, readFile, writeFile, appendFile, stat, lstat, mkdir, readdir, rm, rmdir, unlink, copyFile, cp, rename, truncate, utimes, access, realpath, readlink, mkdtemp, chmod, symlink, opendir, watch). Backed by inode-indexed CoW Virtual File System (BOA_VFS_STATE) with < 5 us Slice.checkpoint() / Slice.restore() and gated by --allow-read / --allow-write OCap tokens for host paths.
node:util & node:util/types Supported util.format (%s, %d, %i, %f, %j, %o, %O, %%), util.inspect (cycle-safe), util.parseArgs (short/long flags, booleans, strings, multiple, default, allowPositionals, allowNegative, tokens), util.isDeepStrictEqual, util.styleText, util.stripVTControlCharacters, util.MIMEType, util.MIMEParams, util.promisify, util.callbackify, util.deprecate, util.inherits, TextEncoder, TextDecoder, and util.types (isUint8Array, isTypedArray, isArrayBuffer, isBuffer, isPromise, isDate, isRegExp, isNativeError, isMap, isSet).
node:assert & node:assert/strict Supported assert, assert.ok, strictEqual, notStrictEqual, deepEqual, deepStrictEqual, notDeepStrictEqual, throws, doesNotThrow, rejects, match, doesNotMatch, fail, AssertionError.
node:url & node:querystring Supported URL, URLSearchParams, fileURLToPath, pathToFileURL, and querystring (parse, stringify, decode, encode, escape, unescape).
node:timers & node:timers/promises Supported Callback timers (setTimeout, clearTimeout, setInterval, clearInterval, setImmediate, clearImmediate) and Promise-based timers/promises (setTimeout(delay, value?, { signal? }), setImmediate(value?, { signal? }), scheduler.wait, scheduler.yield) with AbortSignal cancellation and 0 ns virtual time-warp in --deterministic mode.
node:os, node:process, & node:tty Supported (Sandboxed) os.tmpdir(), os.platform(), os.arch(), os.EOL, os.cpus(), os.totalmem(), os.freemem(), tty.isatty(), tty.ReadStream, tty.WriteStream, and full process CLI surface (process.env, process.cwd(), process.argv, process.argv0, process.execArgv, process.execPath, process.pid, process.ppid, process.version, process.versions, process.exitCode, process.exit(code), process.nextTick, process.uptime(), process.hrtime + process.hrtime.bigint(), process.memoryUsage() + .rss(), process.stdout, process.stderr, process.stdin, process.emitWarning, process.on/once/off/emit).
node:console Supported (Egress DLP) Exports Console constructor and all WHATWG console.* methods (log, info, warn, error, debug, table, time, timeLog, timeEnd, group, groupCollapsed, groupEnd, dir, dirxml, count, countReset, assert, trace, clear) routed through the Outbound Egress Secret DLP Firewall.
node:perf_hooks & node:diagnostics_channel Supported performance (now, timeOrigin, mark, measure, getEntries, getEntriesByName, getEntriesByType, clearMarks, clearMeasures, timerify, nodeTiming), PerformanceObserver, monitorEventLoopDelay, createHistogram, and diagnostics_channel (Channel, channel, hasSubscribers, subscribe, unsubscribe, tracingChannel).
node:module & node:string_decoder Supported Module.createRequire, Module.isBuiltin, Module.builtinModules, and stateful multibyte StringDecoder (write, end across UTF-8, UTF-16LE surrogate pairs, and Base64/Base64URL chunk boundaries).
node:readline & node:readline/promises Supported Interface, createInterface (callback and Promise-based .question() with AbortSignal, [Symbol.asyncIterator] line streaming, prompt, write, pause, resume, close), Readline, clearLine, clearScreenDown, cursorTo, moveCursor, emitKeypressEvents.
node:stream, node:stream/promises, & node:stream/web Supported Full EventEmitter-based Stream, Readable (_read, push, unshift, read, pause, resume, pipe, [Symbol.asyncIterator], Readable.from, Readable.fromWeb, Readable.toWeb), Writable (_write, _final, write, end, cork, uncork, Writable.fromWeb, Writable.toWeb), Duplex, Transform (_transform, _flush), PassThrough, pipeline (callback + stream/promises), finished (callback + stream/promises), addAbortSignal, and stream/web (ReadableStream, WritableStream, TransformStream, TextEncoderStream, TextDecoderStream, CompressionStream, DecompressionStream).
node:http, node:https, & node:http2 Supported (5-Ring OCap + Direct Server Bridge) IncomingMessage (extending Readable), ServerResponse (extending Writable), Server, createServer, ClientRequest (extending Writable), request, get, Agent, globalAgent, STATUS_CODES, METHODS, maxHeaderSize, validateHeaderName, validateHeaderValue, plus node:http2 (constants, getDefaultSettings, getPackedSettings, getUnpackedSettings, createServer, createSecureServer, connect). Bridges directly in-memory to slice serve and enforces 5-Ring OCap allow_net, SSRF private-IP filtering, HTTP_PROXY/HTTPS_PROXY/NO_PROXY, and Outbound Egress Secret DLP.
node:net, node:tls, node:dns (dns/promises), & cloudflare:sockets Supported (5-Ring OCap + DLP) net.Socket, net.connect, net.createConnection, net.isIP, net.isIPv4, net.isIPv6, tls.TLSSocket, tls.connect, tls.createServer, dns.lookup / resolve / resolve4 / dns.promises, and WinterTC connect(address, options) (cloudflare:sockets / slice:sockets). Every TCP/TLS connection enforces OCap allow_net, Pre-Connect DNS Resolved-IP SSRF filtering, and Outbound Egress Secret DLP on every socket.write().
node:dgram Supported (5-Ring OCap + DLP) dgram.Socket, dgram.createSocket("udp4" | "udp6"), .bind(), .send(), .address(), .close() with OCap allow_net, Pre-Connect DNS SSRF filtering, and Outbound Egress Secret DLP on every datagram.
node:child_process Supported (5-Ring OCap ExecCap + DLP) execFileSync, spawnSync, execSync, spawn, exec, execFile, ChildProcess. Enforces Ring 1 ExecCap binary allowlist (--allow-exec / allow_exec, Deny-All by default), Ring 2 environment sanitization (env_clear(), passing only tenant allowed_env_keys), Ring 3 child stdout/stderr Egress DLP scanning (EGRESS_SECRET_LEAK_BLOCKED), Ring 4 timeout & maxBuffer ceilings, and Ring 5 CPU fuel & memory accounting.
node:vm Supported (5-Ring Sandboxed) vm.Script, vm.createContext, vm.isContext, vm.runInContext, vm.runInNewContext, vm.runInThisContext, vm.compileFunction. runInContext and runInNewContext execute inside a 5-Ring capability-attenuated Slice.evalSandbox child isolate with fuel/timeout metering.
node:worker_threads Supported (OCap Attenuated) Worker, isMainThread, parentPort, workerData, threadId, MessageChannel, MessagePort, receiveMessageOnPort, getEnvironmentData, setEnvironmentData, SHARE_ENV. Child workers run inside dedicated SliceIsolate compartments with optional slice: { allowRead, allowWrite, allowNet, fuel, memoryBytes } capability attenuation.
node:async_hooks Supported AsyncLocalStorage (run, getStore, enterWith, disable, exit, bind, snapshot) and AsyncResource (runInAsyncScope, bind, asyncId, triggerAsyncId) with automatic store propagation across Promise.then/catch/finally, queueMicrotask, process.nextTick, setTimeout, setInterval, and setImmediate.
node:zlib Supported (Pure-Rust Engine) Pure-Rust zero-dependency RFC 1950/1951/1952 DEFLATE/GZIP/Zlib engine (crates/slice-engine/src/intrinsics/compression.rs): gzipSync, gunzipSync, deflateSync, inflateSync, deflateRawSync, inflateRawSync, unzipSync (plus callback/async gzip, gunzip, deflate, inflate, deflateRaw, inflateRaw, unzip and constants) returning real Uint8Array-backed Buffer instances with decompression bomb caging (MAX_DECOMPRESSED_BYTES + tenant memory ceiling).
node:v8, node:wasi, node:inspector (inspector/promises), & node:cluster Supported (Sandboxed Compatibility Layer) v8 (cachedDataVersionTag, getHeapStatistics, getHeapSpaceStatistics, setFlagsFromString, serialize, deserialize), wasi (WASI class with zero-ambient-authority wasi_snapshot_preview1 / wasi_unstable import stubs, getImportObject, start, initialize), inspector / inspector/promises (Session, open, close, url, waitForDebugger, console), and cluster (EventEmitter primary-process shim with isPrimary === true, setupPrimary, disconnect; cluster.fork() throws ERR_CLUSTER_FORK_UNSUPPORTED in favor of slice serve --workers=N and node:worker_threads).
node:test (slice:test, bun:test) Supported (Time-Travel Rollback) describe, test, it, beforeEach, afterEach, expect (including .toViolate(), .toStayWithinFuel(), .toStayWithinMemory()) with automatic < 5 us VFS + Slice.kv rollback between test blocks.
slice:jsx (react/jsx-runtime, preact/jsx-runtime, hono/jsx) Supported (Built-In SSR) Zero-dependency JSX/TSX VNode runtime (jsx, jsxs, jsxDEV, Fragment, createElement, h, raw) and synchronous HTML serializer (renderToString(vnode)) with automatic XSS escaping.

3. Module Bundling & npm Package Compatibility (slice-cas)

Section titled “3. Module Bundling & npm Package Compatibility (slice-cas)”

Slice compiles multi-file TypeScript/JavaScript projects and node_modules dependencies ahead-of-time into a content-addressed .cas archive (SLC3):

  • Zero-Config TypeScript (oxc v0.160.0): Native TypeScript (interface, type, generics, enum, access modifiers) stripped via oxc at build time and runtime; .js -> .ts / .tsx relative import resolution works automatically.
  • Oxc AST ESM-to-CJS & Live-Binding Transformer: Rewrites multiline import, export const/function/class, export { a as b } from "...", export default, and export * from "..." statements into deterministic module closures with live ES bindings and deferred function spans.
  • Full package.json "exports" Resolution: Supports nested conditional exports ("workerd", "worker", "edge-light", "import", "require", "module", "node", "default"), wildcard subpath patterns ("./*"), and array fallbacks.
  • Verified Unmodified npm Ecosystem: Edge & full-stack frameworks (hono, @sveltejs/kit + svelte, express / @polka, itty-router), schema validators (zod, valibot), data utilities (semver, cookie, ms, bytes, flatted, mitt, nanoid, ulid, superjson, devalue), and JWT/OAuth libraries (jose) run unmodified inside Slice isolates.

4. Intentionally Unsupported by Design (Security Sandbox Boundary)

Section titled “4. Intentionally Unsupported by Design (Security Sandbox Boundary)”

To guarantee ~1 us isolate spawn times, 4.0 KB per-tenant memory footprint, and zero-trust multi-tenant containment without hardware virtualization overhead, the following OS-level escapes are intentionally unsupported:

Module / Feature Status Architectural Reason & Recommended Alternative
cluster.fork() (OS Process Forking) Unsupported by Design While node:cluster is importable (cluster.isPrimary === true) so libraries checking primary/worker state work out of the box, OS fork() is blocked (ERR_CLUSTER_FORK_UNSUPPORTED). Use slice serve --workers=N shared-nothing worker threads and new Worker() / node:worker_threads isolated compartments.
Native C/C++ Addons (.node / N-API / dlopen) Unsupported by Design Arbitrary native machine code bypasses memory caps, fuel metering, and capability checks. Use pure JS/TS packages, WebAssembly (.wasm inside wasmi), or built-in native Rust intrinsics (crypto, zlib, Slice.kv).
Runtime RSA / DSA Prime Generation (generateKeyPairSync("rsa" | "dsa") / subtle.generateKey("RSASSA-PKCS1-v1_5" | "RSA-PSS")) Unsupported by Design Synchronous random large-prime search takes tens to hundreds of milliseconds of unbounded CPU variance and would stall shared multi-tenant worker threads (ERR_CRYPTO_UNSUPPORTED_OPERATION / NotSupportedError). Import existing 2048 to 8192-bit RSA keys (createPrivateKey, createPublicKey, subtle.importKey in PEM, PKCS#8, PKCS#1, SPKI, or JWK) for RSASSA-PKCS1-v1_5 and RSA-PSS signing/verification, or generate Ed25519, X25519, or ECDSA (P-256 / P-384) keys at runtime in < 30 us.

5. Slice-Exclusive Extensions (globalThis.Slice)

Section titled “5. Slice-Exclusive Extensions (globalThis.Slice)”

In addition to standard WinterTC and node:* APIs, Slice provides deterministic and zero-trust primitives on the frozen Slice namespace:

  • Slice.checkpoint() / Slice.restore(id) / Slice.releaseCheckpoint(id): $O(1)$ Copy-on-Write < 5 us snapshot and rollback of both the Virtual File System (node:fs) and Sharded Edge KV store (Slice.kv).
  • Slice.kv: 16-shard concurrent in-memory per-tenant Edge KV store supporting .get(key), .set(key, value, ttlMs?), .del(key), .incr(key, delta?), and .clear().
  • Slice.evalSandbox(code, options): Spawn an isolated, fuel-metered sub-sandbox with strict capability attenuation for safely executing untrusted AI/LLM-generated code.
  • Slice.serve(optionsOrHandler) / Slice.upgradeWebSocket(req) / Slice.connect(address, options): Zero-copy WinterTC HTTP server bridge (Deno.serve / Bun.serve compatible), RFC 6455 WebSocket upgrade, and 5-Ring OCap TCP/TLS raw sockets.
  • Slice.mockFetch(pattern, response) / Slice.mockSocket(addr, proto) / Slice.mockWebSocket(url, mode) / Slice.clearMocks(): Deterministic HTTP, TCP/Redis, and WebSocket cassette mocking combined with virtual time-warp (0 ns timer fast-forwarding).
  • Slice.setSeed(u64): Switches Math.random(), crypto.randomUUID(), crypto.getRandomValues(), and crypto.randomBytes() into deterministic SplitMix64 replay mode.

6. Automated Conformance Scorecard (test_phase5_conformance_scorecard_ecmascript_wintertc_and_node)

Section titled “6. Automated Conformance Scorecard (test_phase5_conformance_scorecard_ecmascript_wintertc_and_node)”

Every workspace test run (cargo test --workspace) executes test_phase5_conformance_scorecard_ecmascript_wintertc_and_node alongside the full slice-engine integration suite to continuously verify conformance across three standards axes:

Conformance Axis Verified Surface Automated Pass Rate
ECMAScript (ES2024+ Core & Intl) Object.groupBy, Map.groupBy, Promise.withResolvers, Change-Array-by-Copy (toSorted, toReversed, toSpliced, with), Set methods (union, intersection, difference, symmetricDifference, isSubsetOf, isSupersetOf, isDisjointFrom), ArrayBuffer transfer/resize, BigInt, RegExp, Proxy/Reflect, WeakRef/FinalizationRegistry, and Intl (DateTimeFormat, NumberFormat, Collator, PluralRules, Segmenter). 100% (boa_engine v0.22.0 + Shard 18 Intl)
WinterTC Minimum Common Web Platform API fetch, Request, Response, Headers, URL, URLSearchParams, URLPattern, TextEncoder, TextDecoder, TextEncoderStream, TextDecoderStream, ReadableStream, WritableStream, TransformStream, CompressionStream, DecompressionStream, Blob, File, FormData, Event, CustomEvent, EventTarget, AbortController, AbortSignal (timeout, any, abort), DOMException, crypto, crypto.subtle, CryptoKey, structuredClone, atob, btoa, performance, navigator, location, WebSocket, Worker, MessageChannel, MessagePort, WebAssembly. 100% (38 / 38 WinterTC globals verified)
Node.js Core Built-in Modules (node:*) node:fs, node:fs/promises, node:path (path/posix, path/win32), node:crypto, node:events, node:buffer, node:stream, node:stream/promises, node:stream/web, node:http, node:https, node:http2, node:net, node:tls, node:dgram, node:worker_threads, node:child_process, node:os, node:util, node:util/types, node:url, node:querystring, node:assert, node:assert/strict, node:zlib, node:timers, node:timers/promises, node:async_hooks, node:diagnostics_channel, node:perf_hooks, node:process, node:module, node:readline, node:readline/promises, node:string_decoder, node:console, node:dns, node:dns/promises, node:tty, node:vm, node:v8, node:wasi, node:inspector, node:inspector/promises, node:cluster, node:test. 100% (All Module.builtinModules + subpaths verified)