NEWS_RELEASE

← BACK_TO_NEWS_HUB

LOG: 03.2026 // TYPE: ANNOUNCEMENT
MAR 28, 2026

XCX 2.2: PERFORMANCE & EFFICIENCY

CORE PERFORMANCE

  • JIT Compilation — Cranelift-based JIT; 1B-iteration triple nested loop benchmark: ~478ms vs ~140s in 2.1 (~293x speedup).
  • Trace Recording — Automatic trace capture and native code generation for loops.
  • NaN-Boxed Values — Optimized 64-bit value representation (8 bytes).
  • Lock-Free Atomics — Improved concurrency with AtomicBool shutdown handling.

VM IMPROVEMENTS

  • Optimized Opcodes — New IncLocalLoopNext, IncVarLoopNext, GuardInt/Float for faster execution.
  • Better Fiber Support — Enhanced FiberState with yield value caching.

MIGRATION NOTES

Feature2.12.2
ExecutionInterpretedJIT + Interpreted
Value Size24+ bytes8 bytes
Loop Perf (1B)~140s~478ms

IMPORTANT Bytecode is not compatible with 2.1. Requires cranelift, parking_lot, and argon2.

UP ↑