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

https://news.ycombinator.com/item?id=18048864
by brian-armstrong • 8 years ago
19 5 8 years ago

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?

Related Stories

Loading related stories...

Source preview

news.ycombinator.com