Back to Browse

Rust Meets JUCE: Memory Safe DSP in C++ Audio Plugins

671 views
Jun 4, 2025
30:55

In this tutorial, I'll show you how easy it is to integrate Rust DSP code into your JUCE plugins while keeping CMake as your primary build system. We'll set up a complete workflow where CMake handles building your Rust library and statically links it into your JUCE plugin, giving you the perfect combination of battle-tested plugin compatibility and memory-safe DSP processing. 🔗 Links: Video Code: https://github.com/steckes/rust-cpp/tree/juce-integration Juce CMake Example: https://github.com/juce-framework/JUCE/tree/master/examples/CMake/AudioPlugin Cxx: https://cxx.rs/ Cxx-CMake Example: https://github.com/XiangpengHao/cxx-cmake-example 📌 Timestamps: 00:00 Intro 00:43 Tooling Overview 04:14 Setup JUCE Plugin 11:00 How to build Rust from CMake 14:20 Generate Rust crate 17:38 Setup CMake Rust build 21:46 Call Rust Process from C++ 29:03 Test Plugin 29:50 Outro #RustLang #Cpp #JUCE #AudioPlugins #CMake #RustProgramming #AudioDevelopment #DSP #AudioEngineering #SoftwareDevelopment #MusicTech #AudioSoftware #ProgrammingTutorial #AudioProgramming #MusicProduction #VST #AudioProcessing #MusicSoftware

Download

0 formats

No download links available.

Rust Meets JUCE: Memory Safe DSP in C++ Audio Plugins | NatokHD