New Rustacean
e020: Putting code in its place

e020: Putting code in its place

New Rustacean

20:20

About this episode

How do we organize code in Rust? Where do we break it apart into modules or crates, and why? Structuring code in a language like Rust can seem a bit more ambiguous than doing the same in a language with classes to attach all our functionality to, but in practice, the concerns are much the same: modules are namespaces, and we group by responsibility. In today's episode, I talk through that philosophy (and give some comparisons to other languages), and then look at what it looks like in practice!

More from New Rustacean

A story and a dream (and the promise of Rust): the final episode of New Rustacean!

16m

News: Rust 1.35

WASI, Option::copied, and the future of async/await syntax!

18m

Exposing Rust types and functions to C API consumers.

25m