Get in touch ↗
← ResearchGW-2026-0005 / Technical preprint

JIT &
static AOT.

A portable compiler backend for Linux x86-64 and Apple Silicon AArch64 execution

01 / Publication

About this report

Typed SSA NativeIR for Semantics-Preserving JIT and Static AOT in Gray

A portable compiler backend for Linux x86-64 and Apple Silicon AArch64 execution

Read the abstract

This paper presents Gray's typed NativeIR, a bounded control-flow representation used to compile a numeric subset of Gray bytecode to native code on both x86-64 and AArch64 architectures. The system introduces typed control-flow graphs, SSA values, Phi nodes, register classes, architecture-specific lowering, and a shared backend path for Live JIT, Static execution, and native executable artifacts. Native calls, structured exits, source identity, deterministic artifacts, cooperative cancellation, and refusal-safe VM fallback are retained as part of the compiler-runtime contract. The result establishes Gray's native execution path as a portable backend rather than a collection of benchmark-specific accelerators, while clearly identifying the current boundary of supported native code.

Author
Annabella Proctor ↗
Published
Version
1.0
Publisher
Grayworth Technical Publications
DOI
10.5281/zenodo.21759781 ↗
02 / Read & cite

Publication files

Work with Grayworth

Tell us what
you’re building.

contact@grayworth.com ↗