Creating a C API for a Rust library


#1

I wrote up an experience report for my first attempt to create a C API for a new Rust library: http://www.joshmatthews.net/blog/2015/10/creating-a-c-api-for-a-rust-library/

String FFI ended up being the piece that gave me the most troubles, but that was mostly because the library supports stable, beta and nightly versions of Rust, and CString and CStr have been quite unstable across those versions. I am pleased with my results, regardless!