Pure Data in Rust! I finally finished my side project of creating a safe rust wrapper around libpd and published it

54 points alisomay_

Generating bindings for libpd was something that I had in mind since a while. Also seeing that it hadn't been done yet and stumbling to this post motivated me more.

Generating bindings was more or less straight forward and produced the crate libpd-sys on the other hand the safe wrappers libpd-rs took some more work to finish with all the design, tests and docs.

Also I had to solve some interesting challenges across the way such as how to convert a closure to a C function pointer.

These are my first lib crates, hope it will be interesting for some people and a nice addition to the Rust ecosystem 🤞

https://github.com/alisomay/libpd-rs

Any comments and contributions are welcome

*Thanks to,

danomatika for answering my questions.

Aiden4 for helping me in Stack Overflow.

Başak Ünal fro the logo.