<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Dec 3, 2016 at 12:45 PM, Stefan Riha <span dir="ltr"><<a href="mailto:hoitaus@gmail.com" target="_blank">hoitaus@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Yes I'm a beginner writing an LV2 audio plugin in Rust, and as a "side effect" I wrote an LV2 interface. Someone on GitHub suggested that it was not idiomatic Rust. I think what I initially did was re-implementing the basic functions/types of the LV2 spec in Rust, but (and that's the problem) using mostly its C compatibility features. Rust has a lots of those, to enable use of existing C libraries, which is one of its main strength if i understand correctly. Also a necessity for the language to gain serious traction.<div dir="auto"><br></div><div dir="auto">That actually worked for me, I'm mostly interested in working on my extremely sophisticated sawtooth synth (note the sarcasm, as I said I'm hobbyist/beginner) instead of providing an LV2 interface in Rust.</div></div></blockquote><div><br></div><div>Cool - keep us informed of your progress - I'm always interested in a cheap (preferrably band-limited) sawtooth algorithm :)<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div dir="auto"></div><div dir="auto">However, from a larger perspective of someone trying to learn proper programming in Rust, getting the LV2 part right would be the right thing to do, so hence the question on SO and here.</div></div></blockquote><div><br></div><div>Ah yes just read the SO question - I don't have any experience with Rust and writing native C bindings - so won't be of any help there!<br></div></div><br></div><div class="gmail_extra">Cheers, -H<br clear="all"></div><div class="gmail_extra"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><br><a href="http://www.openavproductions.com" target="_blank">http://www.openavproductions.com</a></div>
</div></div>