Euv-core
Cross-Platform Native Runtime, Direct GPU, 3D Engine & 13 Platform Backends
Workspace Overview · API Docs · Agent Engineering Rules
Overview
Core cross-platform native runtime for euv: 24B SBO O(1) reactive arena, Taffy-style SplitLayoutCache Flexbox/Grid layout with parent-relative geometry and surgical partial-layout/effect damage, SoA SceneTree + Component::NEEDS_LIFECYCLE, CanvasCaching::RetainedStatic, zero-cost macro Go-to-Definition schemas (StyleProps, ViewElement..PageSlotElement), zero-sync-probe native OS fonts with single-probe TextShapingCache/GlyphAtlas, single-backend lazy renderer with 64B GpuPrimitiveInstance uber-shader (WGSL/MSL/GLSL ES 3.0/HLSL + Dual-Kawase BackdropBlur), AppFrameArena/DisplayListFrameArena + composite-only scroll, StartupTelemetry/PresentOutcome, native 240/360/480Hz+ VSync (1000Hz ceiling, 9-tier non-degrading FallbackPolicyEngine), double-buffered Terminal TUI/CLI rendering, BVH4/BVH8 SIMD + object-space interpolated dynamic RT 2D/3D game engine, pure-Rust GIF89a/MP4 media decoders, Hyperlane-compatible dynamic OTA runtime, and direct platform backends across 13 targets.
Responsibilities & Module Layout
reactive— 24B SBOSignalSlot+ O(1) intrusive edge-slabSignal(with_ref), lazyMemo,Effect,Selector,Scope(freeze/resume),LocalState,GlobalState, and typedEventBusscene— SoASceneTree(intrusive child links), bounded 16-rectDirtyRectSet/DirtyRectStrategy+ surgical portal/backdropeffect_dependency_damage, retained scroll/page layers (RetainedLayerPool),with_current_context,Component::NEEDS_LIFECYCLEzero-alloc mount fast path,CanvasCaching::RetainedStatic,PageLifecycleController, universal scroll chaining,NodeTransition,TextNodeContent, and re-exported IDE Go-to-Definition DSL schemas (StyleProps,ViewElement..PageSlotElement)layout— Taffy-styleSplitLayoutCache(4-slotmeasure_slots+final_slots), O(1)Display::Nonefrozen cache preservation, parent-relative Flexbox/Grid geometry, zero-alloc spatialhit_test, SafeArea insets,LayoutTelemetry, and surgical partial-layout conservative bounds diffingfont— Zero-sync-probe lazy OS proportional/monospace/bold/italic glyph rasterization (CoreText LRU, Android NDK FreeType, persistent Linux FreeType, Win32 GDI, Web batched glyph strip) paired with single-probeTextShapingCacheand fence-reclaimedGlyphAtlasrender— Single-backend lazyRenderer::new(0 CPU framebuffer bytes in GPU direct mode), unified 5-stageAdaptiveRenderRouter(RecommendOnly/AutoSwitch) +HandoffCoordinator+AdaptiveFrameMetrics(ObservableMetricwithUnobservablenull, never fake zeros) + sparse-effectHybridRenderer,DisplayList+DisplayListFrameArena, 64BGpuPrimitiveInstanceuber-shader (WGSL/MSL/GLSL ES 3.0/HLSL + Dual-KawaseBackdropBlur), hardware-fencedGpuResourceRing, 1000Hz / 9-tier non-degradingFallbackPolicyEngine, paddedBandWorkerPool+ parallel separableBackdropBlursoftware reference, and double-buffered non-GPU/non-HzTerminalRenderer(TerminalNonGpuTelemetry, O(1) idle short-circuit, grapheme clusters, piped CLI)app&platform—AppFrameArena, composite-only scroll,StartupTelemetry(t0..t7),PresentOutcome,FrameTelemetry,RoutePrewarmer,ResourceAccountant,SystemEventlifecycle (incl. 6-DOFDeviceMotionSample/SystemEvent::DeviceMotion/use_device_motion()) & 0% CPU/GPU background freeze, unified per-platform telemetry ingestion (AndroidPresentTelemetry,IosPresentTelemetry,LinuxPresentTelemetryincl. real Waylandwl_shmdouble-buffered fallback,MacOsPresentTelemetry,WindowsPresentTelemetry,WebPresentTelemetry+ stacked dual-canvas handoff,HostChannelCapabilitiessingle-channel/simulated-profile honesty), and native 240/360/480Hz+ VSync across 13 targets (Web,Android,iOS,iPadOS,macOS,Windows,Linux,HarmonyOs,Wearableacross 9 smartwatch ecosystems incl. vivo BlueOS Watch Round/GT presets,MiniApp,QuickApp,Terminal,TerminalCli)game&media—Bvh4Node(NEON/SSE2) /Bvh8Node(AVX2) SIMD 4-ray packet traversal, object-space inverse-interpolated dynamic RT (0 per-VSync BVH rebuilds), zero-allocDoubleBufferedSnapshot+CopybitsetInputState+u64nsFrameClock,RenderBufferPool/GpuCompositeTarget, pure-Rust LZW GIF87a/89a (GifDecoder/GifStreamPlayer), andArc<Mp4Demuxer>+ hardware zero-copy video pipeline (VideoPlaybackPipeline)dynamic— FIPS 180-4 SHA-256 / RFC 4231 HMAC-SHA256 signedReleaseManifest, per-route pinnedDynamicReleaseRuntime, host-ownedBusinessStateStore,DynamicComponentContract, and backgroundUpdateWorker(SSE + incremental blob resume)
Installation & Usage
Verification
Documentation & Governance
- Update this
README.mdalongside any public API, macro, component, CLI, or module-boundary change per../AGENTS.md. - Project standards and workflows live in
../.agents/skills/euv/SKILL.md.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contact
For inquiries, please contact the author at root@devhub.vip.