Foreign Function Interface Calling out to C libraries Making Rust code callable libc Other libraries Foreign Function Interface Rust doesn’t work in a vaccum and was never ...
WebAssembly support WebAssembly support for emscripten for wasm32-unknown-unknown Rust has gained support for WebAssembly , meaningthat you can run Rust code in your brow...
Let’s Start Simple Compiling our code Let’s Start Simple The usual introduction to any language is “Hello, World!”. A simple program that prints that message out to the consol...
mdBook-specific markdown Hiding code lines Including files Including portions of a file Including a file but initially hiding all except specified lines Inserting runnable Rust...
Optimizations & Best Practices Using smart pointers effectively View functions Pure Components Reducing compile time using workspaces Reducing binary sizes Cargo.toml Nightly ...