Skip to content
Rust Search
← Browse conferences

Strategies to speed up build iteration, or dynamic hot reloading?

RustLab Conference
RustLab 38:03 164 views

Rust’s reputation for being slow to compile can be a major obstacle for developers who value rapid iteration and feedback. The easy answer is that iteration is slower, but we need less cycles as the code written tends to be more correct. We’ll explore strategies to take control of Rust’s compilation time, from optimizing compiler options and leveraging faster linkers or faster compilers, to reusing compilation results between projects with sccache or shared target folders. LEVEL: Intermediate

Player unavailable or embedding blocked? Use the YouTube link above.

Other talks by Francois Mockers

Augmented docs: a love letter to rustdoc and docs.rs

EuroRust
24:57 1495 views

Docs are one of the superpower of Rust, thanks to the tooling and the central platform hosting them. Let’s take it to the next level! After a quick look at some of the most known features of rustdoc and docs.rs, we’ll review the guidelines and explore some of the advanced features available, like interacting with the #[doc] attribute directly or scraping examples. We’ll then look at how to enrich the docs with some crates from the ecosystem, like aquamarine for graphs, katex-doc for mathematical expression or document-features for automatic feature documentation, or with some templating, and see how far we can take it to have a complete documentation. To finish, we’ll dip our toes into documentation theory, through the Diátaxis framework and the Good Docs Project, check how rustdoc fit in those, and how other tools like mdbook or zola can complement it.