We would like to announce faust-rs (https://github.com/grame-cncm/faust-rs), an
experimental Faust compiler port and research project in Rust, developed with
the assistance of ChatGPT Codex and Claude.
The project is still a work in progress. Its first objective is to explore how
the Faust compiler could be progressively reimplemented in Rust while
preserving compatibility with the existing C++ compiler. It also provides a
platform for experimenting with new language and compiler ideas.
Current experiments include new clock-domain primitives:
• ondemand (OD), for conditionally evaluated DSP blocks;
• upsampling (US) and downsampling (DS), for explicit local sample-rate
changes.
The project also explores automatic differentiation directly within Faust
programs:
• forward-mode automatic differentiation with fad;
• reverse-mode automatic differentiation with rad.
These primitives open up possibilities such as adaptive filters, parameter
estimation, differentiable DSP, embedded optimization, and multi-rate or
frame-rate processing.
Because much of the port was produced through human–AI collaboration, some
internal parts will likely be revisited and rewritten to make them easier for
human contributors to understand and maintain. The current implementation
should therefore be considered exploratory rather than production-ready.
We are very interested in feedback from the Faust community, especially
practical feedback about the design, semantics, and usability of the new
OD/US/DS and FAD/RAD primitives. Example programs, unexpected behavior, missing
use cases, and suggestions for clearer APIs or documentation would all be
extremely valuable.
Stéphane
_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users