Motivation: safer types across FFI
In this chapter we will see why my company,
, and I, chose to develop the ::safer_ffi
framework, which should help illustrate why using it can also be a
good thing for you.
-
We will start with an overview of the traditional way to write Rust→C FFI,
-
We will then discuss about using idiomatic Rust types such as
Vec
and[_]
slices in FFI, and how::safer_ffi
helps in that regard.