|
|
|
|
|
by treyd
56 days ago
|
|
> Even rust makes ffi unsafe. Which is why every library that wraps C APIs provides safe wrappers that express the implicit expectations within Rust's type system. Yes the low-level calls are unsafe, of course they are, but then we expose them with a safe interface that consumers actually use. |
|