Explicit arena allocation
Permanent, transient, and level-scoped scratch buffers make allocation frequency, lifetime, and peak use visible. Bulk resets remove repeated per-object cleanup from known runtime phases.
Njinn engine
Njinn is a custom 2D/3D game engine written in C for Sange. Memory lifetime, entity updates, skeletal deformation, rendering, tools, and the content pipeline are designed as one system, keeping costs visible when profiling and optimizing the runtime.
Architecture & performance
Performance optimization starts with a repeatable workload and clear ownership of memory, updates, rendering, and resource lifetimes.
Permanent, transient, and level-scoped scratch buffers make allocation frequency, lifetime, and peak use visible. Bulk resets remove repeated per-object cleanup from known runtime phases.
Entity data, state machines, animation-driven combat, enemy logic, bosses, audio, and interface code stay close to the data so update costs and hot paths can be profiled directly.
DirectX 11 powers the current renderer and exposes draw submission, resource use, skeletal deformation, effects, and CPU/GPU synchronization for targeted investigation.
Code projects