15 ms·
Do you think rewriting pd in Rust can be a good solution?Async in Rust is one of its selling points: https://rust-lang.github.io/async-book/ https://rust-lang.
by chaosprint 4y ago
Do you think rewriting pd in Rust can be a good solution?Async in Rust is one of its selling points:
https://rust-lang.github.io/async-book/ https://rust-lang.github.io/async-book/
There are some good gui tools in Rust as well:
https://www.egui.rs/ https://www.egui.rs/
https://github.com/setzer22/egui_node_graph https://github.com/setzer22/egui_node_graph
- spacechild1 4y agoNo, I don't think that Rust would buy us anything in this regard. "Async" in languages like Rust are meant for an entire different problem domain (mostly networking). In my post above I'm talking about dispatching commands from the audio thread to a helper thread (pool) - and back. This has to be done in a realtime safe manner, so a general async framework won't be appropriate. > There are some good gui tools in Rust as well: I don't think GUI programming is exactly one of Rust's strengths :-)
- chaosprint 4y agoI see. Was just thinking aloud.
- spacechild1 4y ago(BTW, I did not downvote your comment. I know that you have actually written audio code in Rust and therefore assumed it was an honest question from your side :-)