Extending C with Rust – The Hello World Example

In this article I’m gonna show how to extend C code with a function written in Rust. For the sake of simplicity, let’s do it by writing a simple “hello world!”. Read more

Similar

Rust Container Cheet Sheet

into_boxed_slice ptr T Legend 4/8 bytes Box<T> Vec<T> len cap ptr cap len ptr 4/8 bytes T T T Rc<T> ptr strong weak T Box<[T]> len ptr len T T T Box<Trait> T vtable size Arc<T> ptr strong weak T 4/8 bytes atomic allocat... (more…)

Read more »