← All projects
Project record1 mention
Originally shared on Hacker News

DSP graph (e)DSL with gccjit AOT compiler

An embedded DSL for describing simple DSP (audio synthesis) graphs, paired with a gccjit-based AOT compiler. It reimagines the SuperCollider architecture, replacing runtime plumbing with compiled code so that auto-vectorisation and loop unrolling can kick in; the goal is to measure how much of a performance difference that makes. Synth nodes are defined in Python, e.g. a tone function combining a sine oscillator with an amplitude gain.

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. DSP graph (e)DSL with gccjit AOT compiler

    An embedded DSL for describing simple DSP (audio synthesis) graphs, paired with a gccjit-based AOT compiler. It reimagines the SuperCollider architecture, replacing runtime plumbing with compiled code so that auto-vectorisation and loop unrolling can kick in; the goal is to measure how much of a performance difference that makes. Synth nodes are defined in Python, e.g. a tone function combining a sine oscillator with an amplitude gain.

    Posted by @lynx97 · Original source ↗

    Source text · @lynx97 · · Source ↗

    A (e)DSL to describe simple DSP graphs + a gccjit based AOT compiler. Basically a reimagination of the SuperCollider architecture with a JIT compiler instead of runtime plumbing. The idea is to have auto-vectorisation and loop unrolling kick in. Want to see how much of a difference that would make.