1 unstable release
new 0.0.0 | Jan 21, 2025 |
---|
#8 in #entity-component-system
12KB
274 lines
MAJOR - Next-gen Entity Component System
Status: Early Development 🚧
Current Implementation:
✓ Core Architecture
├── Entity Management
├── Component System
└── Archetype Organization
Implemented Features
-
Entity System
- Basic entity creation and management
- Generation-based recycling
- Efficient memory layout
-
Component Architecture
- Type-safe component storage
- Zero-cost abstractions
- Memory-aligned layouts
-
Archetype System
- Component grouping
- Efficient storage patterns
- Max 256 components per archetype
-
Memory Management
- Page-based allocation (16KB pages)
- Zero-copy component access
- Efficient memory reuse
Pending Implementation
-
World Management
- Entity-component queries
- System execution
- Resource management
-
Systems
- Parallel execution
- System scheduling
- Dependencies handling
-
Query System
- Component filtering
- Entity iteration
- Change detection
-
Performance Optimizations
- SIMD operations
- Cache-friendly layouts
- Thread-local storage
Dependencies
~1–1.6MB
~34K SLoC