Introduction

published book

A sampler in needlework is a piece containing many small designs worked as a reference to different patterns or to showcase skills. This eBook is a collection of interesting bits about working with the Rust programming language that will be useful as you progress from the introductory texts into creating projects in Rust. You’ll learn about what the 2018 Edition of Rust means and how it’ll affect you. You’ll work through a Test Driven Development example. You’ll experience a concurrency bug in Ruby and see how Rust prevents it at compile time. You’ll see why selfreferential structs in Rust aren’t allowed and what to do instead. And you’ll learn a best practice for the types of parameters in functions. These articles will hone your Rust skills and serve as references for your future Rust work.

All examples use Rust 1.35 and the 2018 Edition, but thanks to Rust’s stability guarantees, the examples that compile will continue to compile with newer versions of Rust. Error messages may be different, and code that doesn’t compile might begin compiling.

Sign in to access this free ebook
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage