1. 程式人生 > >Ask HN: Do you have experience converting a C library to Rust?

Ask HN: Do you have experience converting a C library to Rust?

I'm curious what my options are for converting a C library to Rust if a) I want it to maintain the same external interface and b) I don't want to do all the work of converting upfront. Is there anything to be aware of for a codebase that's half Rust, half C? Is the only option for interop using C FFI in Rust?