Expand description
Iris Core - Foundation Kernel Layer Iris Core —— 底层内核底座
Provides cross-platform window management, async scheduling, memory pools, file I/O, native network stack, and caching system. 提供跨端窗口管理、异步调度、内存池、文件 IO、原生网络栈、缓存系统等基础能力。
This is the foundation of the entire Iris engine, with no dependencies on upper-layer crates. 是整个 Iris 引擎的根基,不依赖任何上层 crate。
§Features | 功能特性
- Cross-platform window management via winit
- 通过 winit 实现跨平台窗口管理
- Async runtime based on Tokio multi-threaded executor
- 基于 Tokio 多线程执行器的异步运行时
- Application lifecycle management (initialize, update, exiting)
- 应用生命周期管理(初始化、更新、退出)
- Event loop integration for desktop applications
- 桌面应用事件循环集成
§Architecture | 架构设计
Context (Tokio Runtime) ←→ Window Event Loop (winit)
↓
Application trait (lifecycle callbacks)The core layer provides the infrastructure for all upper layers (GPU, DOM, Layout, JS, SFC). 核心层为所有上层(GPU、DOM、Layout、JS、SFC)提供基础设施。
Modules§
- io
- Async file I/O utilities built on Tokio.
- memory_
pool - Memory pool: reusable buffer allocation for GPU transfers and I/O.
- net
- Async networking utilities built on Tokio.
- runtime
- Iris 异步运行时封装
- window
- 跨平台窗口管理
Structs§
- Context
- Iris 核心上下文。
Traits§
- Application
- 应用程序生命周期 trait(桌面端)。