m3u
m3u copied to clipboard
Lib should be callable from other programming languages
Otherwise this lib will stay a niche.
Hey thanks for the suggestion!
By this do you mean the API should only use extern "C" fns and #[repr(C)] structs? Do you have examples of other libs similar to this that go out of their way to also provide an FFI friendly API? Or perhaps a simple example of how you would do things differently?
I haven't given much consideration to the library's usefulness outside of rust, however I wouldn't mind adjusting the API to make it easier for users to do so as long as it doesn't require sacrificing rusty-ness.
Yes, I mean FFI like you said. I'm not very familiar with Rust, yet. So I can't deliver examples you couldn't find in the book.
I'm going to publish the crate as 1.0.0 for now, but may add an ffi module in the future if I get the time.