mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.6K
active users

#rustlang

58 posts50 participants1 post today

RustLang question: If `From` is implemented between two types, is it possible to seamlessly convert between Vectors of those two types?

Compiler won't let me `impl from<Vec<...>>` for the two types since `Vec` isn't in my crate.

This whole thing is working around the fact that `NodeGroup` in an external crate doesn't have `Deserialize` on it, though it is generated code by `prost`...

Replied in thread

@serebit Yeah, cargo build/check/clippy don't check examples unless you use the --examples flag. And if the examples are separate crates, you have to use the --workspace flag. I just realized I messed that up in my own crate's CI checks, but thankfully the examples only have a couple of warnings.

I was inspired by @ho's post (nathan.ho.name/posts/dm-synthe) about using digital modulation schemes for sound synthesis

Here, I've turned the binary data from a block of text (lorem ipsum with strings of repeated characters thrown in) into a .WAV file in Rust. In Max/MSP, I'm incrementing through that to modulate the phase of a sine wave and simulate phase-shift keying (en.wikipedia.org/wiki/Phase-sh)

Join the Bioconductor Developer Forum - R & Rust in Bioinformatics

Curious about combining R and Rust in your bioinformatics workflows?

On 28 July, join us for an online session featuring talks on extendr, Rust-based package development, and real-world use cases in Bioconductor and CRAN.

🗓️ Date: Monday, 28 July 2025
🕔 Time: 17:00–18:00 CEST
📍 Location: Online
🔗 Read the blog post blog.bioconductor.org/posts/20

Bioconductor community blogExploring R and Rust in Bioinformatics – Online Developer Forum, 28 July 2025 – Bioconductor community blogA blog for the Bioconductor community!