About this book
This book is organized into two parts. Part I is focused entirely on the fundamentals of the Rust language and ecosystem.
We’ll learn how to read and write Rust code during this part of the book, which will be necessary in Part II. We’ll also cover slightly more advanced topics such as Ownership and the Stack vs Heap allocation. The code examples are all chapter-specific and will have nearly equivalent Ruby examples to learn through comparison.
Part II is where fundamentals are practiced. We’ll write a Ruby gem with native code in Rust. The purpose of Part II is to get familiar with writing Rust and understand one way Ruby and Rust can be used together.