Ori-Native GPU-Accelerated UI Framework — Research & Design
6 sections
Overview
Build a 100% Ori-native GPU-accelerated UI framework with CSS layout semantics that serves as the flagship showcase for Ori's Deep FFI capabilities. The framework proves that Ori can build production-grade systems software while demonstrating language features no other framework can match: parametric FFI capability tracking, ownership-annotated C interop, compile-time allocation denial on render paths, and full FFI mockability for testing without hardware.
Completed
6 sections
oriterm Architecture Analysis
Map oriterm_ui's architecture to identify what transfers directly, what needs adaptation, and what must be built new for a general-purpose GPU UI framework
Pure Ori Layers
Design the pure Ori framework layers that have zero FFI dependencies — layout, scene, widgets, animation, events, state, and theming
FFI Wrapper Layers
Design the thin Ori FFI wrappers around C libraries (wgpu-native, HarfBuzz, FreeType, SDL3) using Deep FFI features
Deep Safety Showcase
Document how the UI framework demonstrates every Deep FFI feature, making it the flagship proof of Ori's safety model
Compiler Dependencies & Blockers
Map the exact compiler features needed before each framework layer can be built, with current implementation status
Timeline & Milestones
Define the phased implementation plan with concrete milestones and success criteria