PULP

main Alpha — under active development
GitHub

Code Style

This document defines the coding standards and architectural rules for the Pulp repository.

Public API Boundaries

Module Boundaries

Real-Time Audio Safety

Code that runs on the audio thread (Processor::process()) must follow these rules:

Use lock-free primitives from pulp::runtime for cross-thread communication:

Pattern Primitive
Single value, latest-wins std::atomic<T> (relaxed)
Multi-field coherent read SeqLock<T>
Large data swap TripleBuffer<T>
Ordered event stream SPSCQueue<T>

Naming

Header and Source Organization

Build Hygiene

Comments

Tests

Documentation Updates