Hi Sam,
I started looking at using the CXX library for this, there's even a few
CMake examples. My hope is to make a Rust block similar to the current
embedded Python Block available in GRC. I've not made it to the point of
even test code though. If you want to look further into this I'd be very
interested.
https://cxx.rs
There are no plans to port the core of GNU Radio to Rust, but Bastian
Blossel has been doing some experiments around SDR runtimes in Rust.
https://github.com/bastibl/FutureSDR
There are bindings for UHD and the SOAPY SDR device API, but I haven't
tried either.
https://github.com/samcrow/uhd-rust
https://github.com/kevinmehall/rust-soapysdr
Has anyone else looked or thought about this?
Cheers,
Derek
On 4/23/2021 8:53 PM, Carey, Samuel Craig via GNU Radio, the Free &
Open-Source Toolkit for Software Radio wrote:
Howdy,
I’ve written GNU Radio blocks with C++ and Python in the past, but
lately I’ve been transitioning to using Rust-lang for many of my other
projects.
Does anyone know of any current Rust integration/porting/rewriting
plans or efforts for GNU Radio (or other SDR frameworks)?
I’m really enjoying using Rust, so I’d really like to be able to use
it for SDR applications.
Thanks,
Sam