🌟 Complete Ecosystem

Nen Ecosystem

A comprehensive suite of high-performance libraries built on shared principles of static memory allocation, inline optimization, and predictable performance.

Core Principles

Every library in the Nen ecosystem follows these fundamental design principles

💾
Static Memory Allocation

Zero dynamic allocation for predictable performance

  • Predictable memory usage
  • No allocation overhead
  • Cache-friendly
  • Real-time ready
Inline Function Optimization

Critical functions marked inline for maximum performance

  • Reduced call overhead
  • Compile-time optimization
  • Better instruction cache
  • Minimal latency
🛡️
Validation-First Approach

Prevent errors before they occur through input validation

  • Error prevention
  • Graceful degradation
  • Better user experience
  • Reduced debugging
🚀
Performance by Design

Performance considerations built into every layer

  • High throughput
  • Low latency
  • Efficient resource usage
  • Scalable architecture

Core Libraries

Foundation libraries that provide essential functionality

NenDB
pre-v0.1

Data Storage

Static-memory, crash-safe graph store with WAL and snapshots

Provides:

Graph storageWAL operationsSnapshotsCrash recovery
Nen-Net
v0.1.0

Networking

High-performance HTTP/TCP framework with static allocation

Provides:

HTTP serverTCP client/serverWebSocketConnection pooling
Nen-IO
v0.1.0

I/O Operations

Zero-allocation I/O library with streaming and file operations

Provides:

File operationsStreaming parserMemory mappingValidation
NenCache
v0.1.0

Caching

High-performance multi-tier caching for LLM workloads

Provides:

Multi-tier cachingP2P sharingVector quantizationIntelligent prefetching

Processing Libraries

Libraries that build upon core functionality for data processing

Nen-JSON
v0.1.0

Data Processing

High-performance JSON parsing with static memory allocation

Dependencies:

Nen-IO

Provides:

JSON parsingToken optimizationStreamingValidation
Nen
v0.1.0

LLM Framework

Ultra-minimal 50-line LLM framework with cross-language bindings

Dependencies:

Nen-IONen-JSON

Provides:

Agent creationRAG workflowsCross-language bindingsMinimalist API

Planned Libraries

Future libraries that will complete the ecosystem

NenFF
planning

Model Format

GGUF-like model format with static memory allocation in Zig

Dependencies:

Nen-IONen-JSON

Provides:

Static memory model formatCPU-optimized inferenceLoRA adapter supportZero-allocation loading
Nen CLI
v0.1.0

Tooling

Unified CLI/runtime for orchestrating all components

Dependencies:

All libraries

Provides:

Unified interfaceComponent orchestrationBuild management
Ecosystem Benefits

For Developers

  • • Consistent API design across all libraries
  • • Shared performance principles and patterns
  • • Interoperable components that work together
  • • Comprehensive documentation and examples
  • • Active development and community support

For Applications

  • • Predictable performance characteristics
  • • Minimal memory overhead and allocation
  • • High-throughput processing capabilities
  • • Real-time and embedded system ready
  • • Scalable architecture from prototype to production

Ready to Get Started?

Choose the library that best fits your needs, or explore the ecosystem to understand how they work together.