Design Documents

For in-depth analysis of design decisions, implementation tradeoffs, and architectural choices, see the design documents in the repository:

API Design

  • hybridapidesign.md Historical two-API strategy (acquire! vs acquire_view!) and type stability analysis

Caching & Performance

Macro Internals

Backend Extensions


Document Overview

DocumentFocus AreaKey Insights
hybridapidesignAPI strategyArray by default, views via acquire_view!
ndarrayapproach_comparisonCachingN-way cache (legacy); setfield! reuse on Julia 1.11+ CPU
fixedslotscodegen_designCodegen@generated functions enable type-stable iteration
untrackedacquiredesignMacro safetySentinel pattern ensures correct cleanup
cudaextensiondesignGPU supportSeamless CPU/CUDA API parity

See Also