Michael-F-Bryan / rust-ffi-guide

A guide for doing FFI using Rust
https://michael-f-bryan.github.io/rust-ffi-guide/
Creative Commons Zero v1.0 Universal
282 stars 18 forks source link

More coherent tutorial #40

Closed Michael-F-Bryan closed 6 years ago

Michael-F-Bryan commented 6 years ago

At the moment, this is more as a collection of useful tips than an actual tutorial/book. I was thinking it may be better if it was presented as a single extended tutorial which implements some real-life application.

One idea I had was to make a REST client, where the GUI is written in C++, but we use reqwest under the hood. This would be good because it introduces a real build environment, loads of string manipulation, is easily testable, and requires you to have fairly robust error handling.

If you have any thoughts on which particular topics should be touched on or mentioned, feel free to add it as a comment below!