DESTINY
Apple Silicon Native · C++17/20 + Metal 4MTLResourceStorageModeShared · Zero PCIe Copy Hops

One coherent DRAM pool. Zero host-to-GPU copy overhead.

Swift 6.3, C++17/20, Accelerate vDSP/NEON, and 43 Metal shaders execute directly over shared 16 KiB page-aligned Unified Memory.

Active Metal Kernels
43 Shaders

CAD PBR raytracing & Studio pipelines across 2 optical palettes

Cold mmap & Pure Metal
3.946 ms

Archival mmap attach · 83.95 tok/s (LFM2-8B-A1B Pure Metal) · 240.5 tok/s (494M Draft Only)

vDSP / NEON SIMD
< 50 ms

1M+ tick simulation + 128-bin 60fps Audio DAW FFT

Lock-Free Graph Scale
102,400 Nodes

Radix Trie 32.58 · 1,048,576 DAG slots

Part 01 · Coherent Memory & Raytraced CAD

Pointer handoff vs. PCIe DMA bounce

Compare 2 GB to 64 GB working sets across Apple Silicon Unified Memory (MTLResourceStorageModeShared), PCIe 4.0/5.0 DMA copies, and WAN upload—powering real-time PBR Metropolis raytracing with zero PCIe copy (shared UMA).

Destiny 3D CAD Metropolis PBR raytracing viewport in Draft Light running directly in Unified Memory
CAD PBR Metropolis · Shared MTLBuffer GeometryISO-10303-21 STEP AP214 / STL (Binary & ASCII) / OBJ / glTF 2.0 / GLB
MEMORY BUS SIMULATORMTLBufferStorageModeShared · Link Arithmetic & Physical Footprint

Unified Memory Zero-Copy vs Discrete PCIe Copy vs Cloud Network Hop

16 GB
DISCRETE PCIe BUS REFERENCE
CLOUD WAN UPLINK REFERENCE
Track 1 · Unified Memory1x Physical (16 GB)

MTLBufferStorageModeShared · Coherent CPU + Metal 4 GPU pointer

CPU & GPU Shared Pool0xSHARED
CPU Pointer
Metal Compute
H2D Bounce CopyNo discrete H2D copy
Physical Footprint1x (16 GB total)
Copy Latency StallZero PCIe copy (shared UMA)
Verified Cold mmap3.946 ms (506 MB M4 Pro)
Track 2 · Discrete PCIe2x Physical (32 GB)

PCIe 4.0 x16 (~25 GB/s sustained DMA throughput)

Host RAM + Device VRAMH2D DMA
Host 16 GB
VRAM 16 GB
DMA Copy Progress640 ms stall
Physical Footprint2x (16 GB Host + 16 GB VRAM)
DMA Copy Stall640 ms (25 GB/s)
Verified 24GB Card31.81 tok/s (27B @ 32K)
Track 3 · Cloud Hop2x+ Remote + WAN

1 Gbps Fiber Uplink (125 MB/s) + 28 ms RTT

Client → TLS/WAN → Cloud VRAMOff-Device
Local 16G
WAN 2.2 min
Total Upload + Remote H2D2.2 min
Combined Allocation48 GB (Client + Cloud 2x)
Transfer + H2D Stall2.2 min
Data ResidencyLeaves Local Machine
Coherent Pointer Handoff vs Explicit Staging Copy
Unified Memory (1x Coherent Page Table)
const buf = device.makeBuffer(
  bytesNoCopy: ptr, length: 16GB,
  options: .storageModeShared
);
// CPU & Metal GPU dereference same page frame.
// H2D copy bytes: 0 B | Duplication: 1x
Discrete PCIe (2x Separate Address Spaces)
void* hostPtr = malloc(16GB);
void* vramPtr = gpuMalloc(16GB);
gpuMemcpy(vramPtr, hostPtr, 16GB, H2D);
// Arithmetic stall: 640 ms @ 25 GB/s

Disclosure: PCIe and WAN stalls are calculated directly from payload ÷ sustained reference link bandwidth; only cold mmap (3.946 ms) and local/LAN tok/s figures reflect signed machine receipts.

Destiny Studio GPU shader node pipeline in Draft Light driving lock-free compute stages
Studio Node Pipeline · Zero Frame-Drop Compute42 Active Metal Kernels · ARM64 NEON + vDSP
Part 02 · C++ / Accelerate / Metal Pipeline

Wait-free SPSC rings to Metal 4 tile compute

Lock-free descriptor queues feed 16-byte aligned NEON/vDSP vector transforms and fused Metal 4 compute command buffers inside a single shared buffer pool.

APPLE SILICON EXECUTION WATERFALLC++17 NEON / vDSP → Metal 4 Compute → MTLBufferStorageModeShared

Zero-Copy Execution Pipeline: Stage Timing & Coherent Memory Inspector

16.67 ms 60fps frame deadline (48 kHz stereo)
STAGE TIMING WATERFALL (NORMALIZED TO 16.67 ms WINDOW)Click any bar to inspect stage kernel & memory contract
STAGE 01Ring Ingestion — Lock-Free SPSC · 1,048,576 DAG / 65,536 Cohort Ring

Wait-free atomic head/tail descriptor advance feeding the 10K active cohort pool across 1,048,576 DAG control-plane slots with 128-byte cache-line padding.

800 stereo frames / 16.67 ms tick ingested lock-freeZero heap malloc per tick; bounded ring wrap via bitmask & 0xFFFF
KERNEL & MEMORY CONTRACT
struct alignas(128) SlotEntry { uint64_t cohortId; uint32_t offset; uint32_t len; };
Pointer: atomic<uint32_t> head, tail -> SlotDescriptor*
Verified Receipt (DestinyVerifiedArchitecture.shadersAndModules): 4-track DAW, Accelerate vDSP 128-bin 20Hz-20kHz 60fps FFT, 42 active Metal shadersStage slices illustrate frame budget allocation inside the verified end-to-end window.
Part 03 · Core Subsystems & Isolation Contracts

Deterministic concurrency & pressure governance

01 · Lock-Free Engine & VMC++17 / C++20

6 DestinyArchKind Engines, PagedKV & Destiny OS

128-byte aligned SPSC/MPMC rings, 1,048,576 DAG control slots, YaRN/mRoPE scaling, and PagedKV (block_size=16, max_blocks_per_slot=65536 for 1M ctx, Q8/Q4 KV, 256 sinks). Optional isolated sandboxes boot Destiny OS (<128 MB) ARM64 EROFS via Virtualization.framework (Destiny OS full release is licensed and priced separately).

02 · GPU, VideoToolbox & Crypto43 Metal Shaders

Metal 4 + VideoToolbox ACEScc NLE & Rust OpenMLS + X-Wing

All 43 .metal shaders and Apple VideoToolbox drive 4K ACEScc timelines and CAD raytracing alongside Rust OpenMLS + X-Wing hybrid KEM E2EE, SQLite FTS5, and 4-track daw, accelerate vdsp 128-bin 20hz-20khz fft, 48khz stereo wav export.

03 · Residency GovernanceMemoryGovernor

Zero-Swap Unified Memory Guardrails

Evicts cold KV quantum blocks and inactive Metal targets cleanly on 16 GB baseline and 24 GB M4 Pro machines before swap thrashing (designed for local-first execution; provided AS IS).

04 · Standards Interop & LicensingNandai Jewels · BC, Canada

Open Exports, Studio Plans & Founding Pass

CAD outputs ISO-10303-21 STEP AP214, STL (Binary & ASCII), OBJ, glTF 2.0, GLB; graphic pipelines output SVG, PDF, PNG (2x Retina), PPTX, Interactive HTML across our 14-Day Free Trial ($0), Destiny Studio Pro ($29.99/mo), $499 USD Founding Pass — 1 Full Year of Destiny Studio Pro + Priority Early Preview Access to Destiny OS (Destiny OS full release is licensed and priced separately), and Destiny Enterprise ($99.00/mo).