Friday, April 23, 2021

Re: Rust-lang



On Fri, Apr 23, 2021, 3:03 PM Derek Kozel <dkozel@gnuradio.org> wrote:
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

This is a good place to start, a few years ago I was able to build a simple rust block with cbindgen and a had some CMake rules that cleanly integrated into GNU Radio with cargo and everything. 

Today I would certainly use cxx to do the binding.

--Brennan 

No comments:

Post a Comment